Tcl and Excel

xet7.org In English > Tcl and Excel

How to launch Tcl program from Excel

Original code by Glenn Halstead.

See more about this at: http://wiki.tcl.tk/12960

Changelog

2005-01-01:

Changes to demo.xls

- no extra clicking needed

- That csv reading code is modified version from page:

http://www.vb-helper.com/howto_csv_to_ragged_array.html

- csv code can read larger csv files too - more rows and colums, easiest way is to add

new Excel sheet and change code line near the bottom to:

Worksheets("Sheet2").Range(Trim(Chr(Asc("A") + C)) & Trim(Str(R + 2))).Value = _

Download

demo.tcl (1k)

demo.xls (39k)

License

Public Domain (I think, there wasn't any notice about license in Glenn's code)