General information
Category:
Coding, syntax & commands
I found a workaround. Making the length greater than de width sets the orientation to landscape.
With loPub.ActiveDocument.PageSetup
.PageHeight = loPub.MillimetersToPoints(210)
.PageWidth = loPub.MillimetersToPoints(297)
EndWith
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only