LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default paper size by name

Hi All,

When I use custom paper size, first I define it for the printer by
submitting its name and page lenght and width. Windows assigns to it a code
number, and when I record a macro printing on this paper size, the macro
contains this code number, like
..PaperSize = 125
It's hard to remember to code numbers. Is there any way in VBA to refer to a
custom paper size by its name?

Thanks,
Stefi

 
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
I am trying to print on legal size paper, i cant set size. Michele Excel Discussion (Misc queries) 1 December 14th 09 02:44 PM
paper size TQ Excel Discussion (Misc queries) 3 August 4th 09 06:49 AM
how do I set paper size to 11x 17? crand Excel Discussion (Misc queries) 1 June 14th 07 07:03 AM
Paper size. TQ Excel Discussion (Misc queries) 3 April 6th 07 05:12 PM
Paper size Bambi41 Excel Discussion (Misc queries) 1 January 24th 05 10:39 PM


All times are GMT +1. The time now is 01:42 AM.

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"