One idea is to get page width and height
from cells PageWidth and PageHeight of
PageSheet, ex,
PgWi=objPage.PageSheet.Cells("PageWidth")
PgHi=objPage.PageSheet.Cells("PageHeight")
,
and to decide ThisDocument.PaperSize in your
own program.
It works the other way around, you can set the page size equal to the
printer page size. You will have to select a printer page size supported by
the printer.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.