http://qs321.pair.com?node_id=11141413

Ratazong has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,

I'm using Win::OLE for working with Excel ... and normally all runs fine.

But now I have to open an .xlsm-file with a corrupted macro that runs when opening the file. (When opening the file manually I get an error message I need to confirm; if I globally disable macros in Excel the file can be opened without errors)

Is there a way to open that file with macros disabled (using Win::OLE)? Somehow I cannot find it ... :-(

Thanks in advance, Rata