I have a StartupMenuBar which was opened in a StartupForm. The startup form was not closed until the user closed the program.
The startup menu has a few menu items which I can access without problem using the mouse, but I can’t access them using the menu’s ALT hotkey. The hotkey alphabets were unique and there was no redundancy.
When I exit the program to the Access database windows and run the menu-creating routine from the VBA editor, I could access each of the menu using the ALT hotkey. It looked like the ALT hotkey could not be accessed or active in a form, though accessing and running the item items with the mouse was okay.
Is there anything amiss?
Another related question: We can set a StartupForm in Access, but can we set a Sub to run automatically when an Access application is run without using the AutoExec macro and without putting the Sub in a form? Can we name a Sub as AutoExec so that it will run automatically when the program is run?