more useful options | |
PerlMonks |
Win32::OLE: how to shif cell contents left in excelby Anonymous Monk |
on Oct 06, 2003 at 19:40 UTC ( [id://297054]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
salutations,
i need to massage an excel datasheet i got from a client. for reproducibility and accountability, i am using perl's Win32::OLE module. i would like to do simple things, like select a range and overwrite it with the content that lies to the left. the following code highlights the range but croaks with $ perl -w xlcolsel.pl Win32::OLE(0.1603) error 0x80020003: "Member not found" in METHOD/PROPERTYGET "" at xlcolsel.pl line 21 Can't call method "Delete" on an undefined value at xlcolsel.pl line 21.
the error message tells me i should somehow assign the highlighted range to an object other than sheet, but i'm at a loss as to how to do so. i would appreciate any help.
Back to
Seekers of Perl Wisdom
|
|