Bret Pettichord wrote:
Zeljko Filipin wrote:
Or you could put path to a variable
path = "C:\demo\"
workbook = excel.Workbooks.Open ("#{path}mation.xls")
This won't work. Backslashes inside double-quotes have special meaning.
Either use forward slashes or single-quotes (or both) to avoid this problem.
Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
Or just double up on your
slashes...
path = "C:\\demo\\"
should work.
jd.
|
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general