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"; };
In reply to Re^3: Is an Excel spreadsheet open?
by Corion
in thread Is an Excel spreadsheet open?
by merrymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |