Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-10-26 12:43 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (90 votes). Check out past polls.