in reply to Re^3: Is an Excel spreadsheet open?
in thread Is an Excel spreadsheet open?
use OLE; use Win32::OLE::Const "Microsoft Excel"; use strict "vars"; use Win32::OLE 'in'; my $excel = Win32::OLE->CreateObject('Excel.Application'); for my $wb (in($excel->{Workbooks})) { print "in loop\n"; print $wb->{Filename},"\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Is an Excel spreadsheet open?
by Corion (Patriarch) on Feb 10, 2010 at 17:42 UTC | |
by merrymonk (Hermit) on Feb 10, 2010 at 18:41 UTC |