Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Excel to PDF using Win32::OLE

by JamesNC (Chaplain)
on May 04, 2006 at 10:17 UTC ( [id://547379]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Excel to PDF using Win32::OLE
in thread Excel to PDF using Win32::OLE

Then the next thing is to duplicate your perl call back in a VB sub and run that sub in the VB debugger. I would also see it Excel never quits properly using your Perl script. We encountered a problem with Win32::OLE after we went to a new service pack on Win2K and we had not changed our Perl where Win32::OLE would not let Excel die. The problem went away again after we migrated to XP. We found a workaround and it looks like voodoo. I will share it with you if you find the same issue, but I would try the manual VB sub thing and also maybe running with $excel->{Visible} = 1; just so I could keep excel alive and have a lookie at the pdf as if I were doing it manually.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://547379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found