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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PaperSizes!!!!!

Status
Not open for further replies.

Gavuk

Programmer
Apr 16, 2003
32
GB
Hiya all,

Does anyone know how to set pagesizes for an abnormal size the size of the paper is 80x190 (thats in millimiteres) i know it will something like this but could anyone help?

ActiveDocument.PageSetup.PaperSize = 80, 190
ActiveDocument.PageSetup.Orientation = wdOrientPortrait
ActiveDocument.PageSetup.LeftMargin = MillimetersToPoints(20)
ActiveDocument.PageSetup.RightMargin = MillimetersToPoints(5)

Doesnt seem right to me is papersize in inches??
 
Hi
Just recorde this

Code:
.PageWidth = CentimetersToPoints(8)
.PageHeight = CentimetersToPoints(19)

Happy Friday
;-)


If a man says something and there are no women there to hear him, is he still wrong? [ponder]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top