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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

macro can't be found

Status
Not open for further replies.

brbarto

Technical User
Sep 6, 2001
34
0
0
When I try to open my WorkOrder form, I get a message that the macro 'WorkOrder Menu' can't be found. It was OK until, I think, I deleted a macro and replaced it with an event procedure.

I had a macro(OnOpen) - GoToNewWO ( Maximize, Go to Record (Form, frmWorkOrder, New)). Then I deleted the macro and added an event procedure on OnOpen(DoCmd.GoToRecord , , acNewRecord
DoCmd.Maximize)

I don't see anything wrong. I've used this event procedure on other forms. I've also checked my Switchboard macro and it looks OK.

Any ideas?
Thanks (new to Access),
BB
 
check all of the Events for the Form, make sure you didn't accidently select the Macro instead of "Event Procedure" from the dropdown box for the Event.

PaulF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top