I'm guessing a bit here, so don't be surprised if I get this wrong. I think it's to do with the doubled backslashes in your file name. Because you are using single quotes, escaping doesn't happen and the literal string is used as the path. Since Losedows can't support unnamed directories (between the pairs of backslashes), it can't find your file. Because you have specified the 'Quit' option when you create the Excel instance, this closes Excel when the code exits. This happens when you open or die. Try (a) single backslashes or double quotes, (b) removing the "quit" option, (c) not dying. If none of these work (or give you the clues to getting it to work), please tell us what happened.
Regards,
John Davies
In reply to Re: Open an excel file using win32::ole module
by davies
in thread Open an excel file using win32::ole module
by bks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |