in reply to Re^2: Is an Excel spreadsheet open?
in thread Is an Excel spreadsheet open?
Again, why don't you ask Excel about its open files?
# From memory, as I don't have Excel at hand currently use Win32::OLE 'in'; my $excel = Win32::OLE->CreateObject('Excel.Application'); for my $wb (in($excel->{Workbooks})) { print $wb->{Filename},"\n"; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is an Excel spreadsheet open?
by merrymonk (Hermit) on Feb 10, 2010 at 17:39 UTC | |
by Corion (Patriarch) on Feb 10, 2010 at 17:42 UTC | |
by merrymonk (Hermit) on Feb 10, 2010 at 18:41 UTC |