Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 224
Default Mac Excel 2001 and PageSetup.PaperSize = xlPaperLetter

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




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Mac Excel 2001 and PageSetup.PaperSize = xlPaperLetter

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"
wrote in message
...
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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP - Excel Date defaults to 2001 Kim Excel Discussion (Misc queries) 1 August 26th 06 09:36 AM
how can I turn a spreadsheet from excel 2001 to into a xml file Vet New Users to Excel 1 March 24th 06 05:55 PM
PageSetup.PaperSize Sandy Excel Programming 1 March 18th 05 06:20 PM
Unable to set the PaperSize property of the PageSetup class [email protected] Excel Programming 2 November 22nd 04 03:43 PM
how to get custom papersize from excel? javaman Excel Programming 0 April 8th 04 10:11 AM


All times are GMT +1. The time now is 02:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"