Actually it worked. I was able to debug the issue better by using die Win32::OLE->LastError()
Thanks.
User Profile
Collapse
Profile Sidebar
Collapse
anandmadhu
Last Activity: May 7 '12, 06:12 AM
Joined: May 7 '12
Location:
-
-
Using win32::OLE to create excel file on a remote windows share
I am using the following code to create an excel file on the share on the remote win2007 professional.
...Code:use Win32::OLE qw(in with); use Win32::OLE::Const; use Win32::OLE::Variant; use Data::Dumper; use Win32::NetResource my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application','Quit'); print $Excel->{Version}; my $Book = $Excel->Workbooks->Add()
No activity results to display
Show More
Leave a comment: