Using VBA to change page setup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Reports - File - Page Seup - Page tab there is a combo box named "size"
where you can select different envelopes.

Can this value be changed using VBA and a combo box on an Access 2003 form?
 
Yes, look up "PrtDevMode" (without the quotes) in the Access help files.
Paper size is one of the attributes that can be changed. There is a table of
values which you can use in a combo box on your form.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

StuJol said:
In Reports - File - Page Seup - Page tab there is a combo box named "size"
where you can select different envelopes.

Can this value be changed using VBA and a combo box on an Access 2003
form?
 

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

Back
Top