This article was previously published under Q200548
Moderate: Requires basic macro, coding, and interoperability skills.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
Private Sub Command0_Click()
DoCmd.Echo False
' Open the report in Preview mode.
DoCmd.OpenReport "Catalog", acViewPreview
' Print two copies of page 1 of report.
DoCmd.PrintOut acPages, 1, 1, , 2
DoCmd.Close ' Close the report.
DoCmd.Echo True
End Sub
Keywords: KB200548, kbprint, kbhowto