Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Help in OLE perl

by davies (Vicar)
on Apr 24, 2012 at 15:34 UTC ( #966877=note: print w/ replies, xml ) Need Help??


in reply to Help in OLE perl

While debugging, set the "Visible" and "DisplayAlerts" properties to 1 (true). This may give you information that will help you find the issue. But do remember to put them back afterwards. I would strongly advise against trying to take control of an existing instance of Excel, and have given some reasons in Re: Manipulating open excel sheet. What would happen if someone was using Excel and an external user accessed your web service? They would suddenly see their instance of Excel disappear as you make it invisible. Then they would be unable to open their files for writing in a new instance as they were already open in the (now invisible) instance your code has taken over.

Regards,

John Davies


Comment on Re: Help in OLE perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-09-01 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls