XP is just a number | |
PerlMonks |
Re: Win32::OLE and Excel and the Webby cacharbe (Curate) |
on Apr 30, 2002 at 14:08 UTC ( [id://163067]=note: print w/replies, xml ) | Need Help?? |
I ran your code on my Win2000adv without any problems either. Jmcnamara has the right of it, though. You will need to cast some of the properties as Variants to insure that you will get what you expect, especially the 'Zoom' property in this case. I'll add an example of variant use like this to my tutorial -- Must have slipped by me.
C-. Update: Upon further investigation, I found that I *had* include an example of fitting a sheet to one page in the tutorial (including the 'Zoom'), but *hadn't* used VT_I4 types in the FitToPages(Wide|Tall) properties.
In Section
Seekers of Perl Wisdom
|
|