Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close Print Preview button puts report in design view

Status
Not open for further replies.

TrekBiker

Technical User
Nov 26, 2010
330
GB

My report is being opened with this

Code:
  stDocName = "rptInvoice"
DoCmd.OpenReport stDocName, acViewPreview

The report has a Close button, which closes it without problem.

The users are in the habit of clicking the Close Print Preview button on the ribbon and this always puts the report into Design View.

How do I stop this or change the button's behaviour?
 

One solution I've found is to customise the ribbon and remove the Close Print Preview button. Seems like an odd button to have at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top