Margins and page layout using VBA

D

David Mc

I want ot be able to change the page layout and
oreientation using VBA. The report is loaded and
immediately printed, no print preview is allowed. How can
i change the layout and margins automatically.

for instance

left and right margins 20mm
top and bottom 15mm
page layout landscape.

Thanks

David
 

Ask a Question

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.

Ask a Question

Top