Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by jsprat (Curate)
on Oct 06, 2003 at 20:52 UTC ( #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
Node Status?
node history
Node Type: note [id://297083]
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 2020-09-28 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (144 votes). Check out past polls.

    Notices?