The paper size can be obtained from PageSetup.PaperSize and according the the help file it reports a value according to the XlPaperSize Enumeration. It seems that XlPaperSize is incomplete because it is possible to set paper sizes that is not mentioned in XlPaperSize e.g.
For the Adobe PDF printer it is possible to select an "ANSI C" paper size for which PageSetup.PaperSize gives a value of 126 which is not listed in the XlPaperSize Enumeration.
Where can I obtain a full enumeration list?
For the Adobe PDF printer it is possible to select an "ANSI C" paper size for which PageSetup.PaperSize gives a value of 126 which is not listed in the XlPaperSize Enumeration.
Where can I obtain a full enumeration list?