Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Win32::OLE: how to shif cell contents left in excel

by jsprat (Curate)
on Oct 06, 2003 at 20:52 UTC ( [id://297083]=note: print w/replies, xml ) Need Help??


in reply to Win32::OLE: how to shif cell contents left in excel

"Selection" is a property of the Application object, not the Sheet object. The application object is $xl in your code. You will probably want to have a look at the Object Model in the Excel help file.

Line 21 should look something like this:

$xl->Selection->Delete({ Shift => xlToLeft });

Also, note that the constant is xlToLeft, at least with Excel 97.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found