Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: OLE and Excel question

by Nkuvu (Priest)
on May 05, 2009 at 21:48 UTC ( #762096=note: print w/ replies, xml ) Need Help??


in reply to Re: OLE and Excel question
in thread OLE and Excel question

My general approach is (very) slightly different:

# The number of rows above the split: $Excel->ActiveWindow->{SplitRow} = 1; $Excel->ActiveWindow->{FreezePanes} = 1;

No selection or intermediate variable necessary ($freeze_panes -- used somewhere else in the code?).

In regards to the second question, are you (by "you" I mean gibsonca) calling $Excel->Quit() when you're done with Excel? Also note that I've found that if my script terminates early, the application isn't always killed properly.


Comment on Re^2: OLE and Excel question
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2015-05-22 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (457 votes), past polls