![]() |
|
go ahead... be a heretic | |
PerlMonks |
Win32::OLE Excel Last Column problem,by Anonymous Monk |
on Oct 21, 2005 at 14:03 UTC ( [id://502000]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi I need to obtain the used range in an Excel sheet. So I used the following subs, which they work fine. In order for me to obtain the used range, I need to obtain the last used column and row in that xls sheet. However, The last Column's value is returned as an Interger! But this code requires the last column value to be in the format of Letter.Number! So $LastCol will not work because its a number and I had to hard code 'IV' which I find it a bit silly. my Question is : 1- how whould you guys solve this problem with minimal code? 2- What is the point in the Get_Last_col if it cannot be used directly? Thanks
Back to
Seekers of Perl Wisdom
|
|