How can i find the opened file name in Excel. I am using the below code to open but i want to check before whether the same file already in opened mode or not?
my $Excel = Win32::OLE->GetActiveObject('Excel.Application')
|| Win32::OLE->new('Excel.Application', 'Quit');
my $Book = $Excel->Workbooks->Open("d:/Sample.Xls")
In reply to Find Excel opened file name in Win32::OLE by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |