Sad Der
accessd666 at yahoo.com
Fri Jan 19 04:09:13 CST 2007
Hi group,
In all reports I have the following code:
Private Sub Report_Close()
CommandBars("mnuReportPrint").Enabled = False
End Sub
I receive the following error:
Invalid procedure call or argument
Why does this error occur?
When I loop through all Commandbars there is no commandbar with the nae mnuReportPrint! Is this what's causing the error?
Regards,
Sander
____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367