Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I change paper size using VBA?

Status
Not open for further replies.

jrice174

Civil/Environmental
Joined
Nov 8, 2004
Messages
129
Location
US
I've got a program to specify all of the needed plot parameters except the paper size. I see that I can use the GetPaperSize method to get the paper size from the layout, but how do I specify a different paper size before I plot?
 
The paper is set by the .CanonicalMediaName of a layout object. It is the LocaleMediaName of the paper. You need the exact name of the paper for it to work.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top