Mac Excel 2001 and PageSetup.PaperSize = xlPaperLetter

G

Greg Lovern

I have a macro that works fine on Excel for Windows for me but when
another person runs it on her Mac with Mac Excel 2001, it returns a
VBA error on <worksheet>.PageSetup.PaperSize - xlPaperLetter.

I had her record going into Page Setup and send me the file with the
recorded macro, but the list of recorded PageSetup properties does not
include PaperSize or anything similar.

Is that normal for Mac Excel 2001? Or could this be caused by a
printer driver issue?

In print preview on her computer, the print dimensions seem too tall
and skinny, as if it were trying to print to legal size paper. But
both Excel and her printer driver show letter size paper.


Any suggestions?


Thanks,


Greg
 
J

Jim Cone

Greg,
My xl97 help file says PaperSize is Windows only.
While my xl2003 and xl2007 help files omit that part.

Why not have her check the Mac help file?
You will probably have to resort to 'On error resume next' or Conditional Compile...there is a Mac
constant.
--
Jim Cone
Portland, Oregon USA .
http://www.mediafire.com/PrimitiveSoftware .
(free and commercial excel programs)



"Greg Lovern" <[email protected]>
wrote in message
news:324abb53-39ba-4664-8ed0-12e04344fdc6@d26g2000prn.googlegroups.com...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top