officemanager2
Technical User
Hi there: I'm trying to get Allen Browne's calender to open from the yes button on a message box:
When set up this way I get run time error 2516 that the Db cannot find the module. Either I've written the code wrong, or I'm way off base in how I've set this up. The Calender is working from another button just fine, but I cannot get it to open from this button.
Any suggestions?
Code:
Answer = MsgBox("Would you like to open the calender to set a date for call back?.", vbYesNo)
If Answer = vbYes Then
DoCmd.OpenModule "ajbCalender", "CalendarFor"
Else
Any suggestions?