DanielAttard
asked on
Unable to set the PaperSize property of the PageSetup class
Can someone tell me why I am getting this error:
Unable to set the PaperSize property of the PageSetup class
on the following line:
.PaperSize = xlPaperLetter
Thanks.
Unable to set the PaperSize property of the PageSetup class
on the following line:
.PaperSize = xlPaperLetter
Thanks.
try
.PaperSize = 1
1 = xlPaperLetter in Excel
.PaperSize = 1
1 = xlPaperLetter in Excel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Flavo. I think my problem here relates to the fact that my default printer is not working. I cannot see the properties of it because "the print spooler service" is not started. once i change to a different, working default printer, it seems to work.
That looks like an excel constant to me...
Can you post all the code..
Dave