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 / Reports / Printing / December 2006

Tip: Looking for answers? Try searching our database.

how to open report and print out page 2 to page3

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
help - 12 Dec 2006 03:00 GMT
how to open report and print out page 2 to page3

"docmd.openreport " can open report and print out all pages ,how can I only
print out page 2 to page 4?
fredg - 12 Dec 2006 05:25 GMT
> how to open report and print out page 2 to page3
>
> "docmd.openreport " can open report and print out all pages ,how can I only
> print out page 2 to page 4?

If the report is not opened in Preview:
DoCmd.SelectObject acReport, "ReportName",True
DoCmd.PrintOut acPages , 2, 4

If the report is opened in Preview:

DoCmd.OpenReport "ReportName", acViewPreview
DoCmd.SelectObject acReport, "ReportName", False
DoCmd.PrintOut acPages , 2, 4
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
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.