Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Help in OLE perl

by davies (Parson)
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.


John Davies

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966877]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-06-20 23:33 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.