Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / May 2008

Tip: Looking for answers? Try searching our database.

Call Page Setup Dialog Box From A Button On A Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SQLSQUIRREL - 28 May 2008 01:37 GMT
Ok... for the love of cheese... somebody share with me how to call up the
Page Setup dialog box from a button on a form.  I have tried this:  
DoCmd.RunCommand acCmdPageSetup.  This does not work... as it only works from
a menu bar.  I am using Access 2003.  Is there another way to call the Page
Setup dialog box from a button?

Please advise...

Thanks,
Brett
Albert D. Kallal - 28 May 2008 10:00 GMT
I assume you have the reprot already open in preview mode???

try:

  DoCmd.SelectObject acReport, Screen.ActiveReport.Name
  DoCmd.RunCommand acCmdPrint

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.