By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

Specify "Landscape/Portrait from VBA

P: n/a
I would like to be able to specify the paper orientation from a subrountine
from
within VBA using the following command:

Docmd.Printout formname
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Tue, 20 Jan 2004 14:39:47 GMT, "Bill Agee" <ws**@mindspring.com>
wrote:
I would like to be able to specify the paper orientation from a subrountine
from
within VBA using the following command:

Docmd.Printout formname


Setting page orientation is not a PrintOut method option.

If you wish to set orientation using VBA you can use the PrtDevMode
property. However, the report must be in Design Mode to write the
property.

--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.