Hi Peter,
Funnily enough, I was just reading this article. This'll sort you out.
http://techrepublic.com.com/5102-6329-5034767.html
Please don't think me rude, but my advice is to try and stop using macros!
AutoExec if you must (better to use a splash form at the startup form and
put initialisation code in it's Timer event handler), and AutoKeys by all
means, but that's it. What happens when a macro encounters an error -
crash! How do you step through a macro and debug it? How to you update a
menu macro on the fly...oh, well, you're with me on that one! Access can
convert macros to code, although I've never tried to use it to reconstruct
menus from menu macros.
Andrew
"Peter Stalder" <pe******@excite.com> wrote in message
news:31**************************@posting.google.c om...
I want to alter a menu bar based on user's actions. My menu bar is
established using macros. Is there any way to edit the menu bar macro
using Visual Basic, so that the menu name will change. I only want to
change the menu macro name and not the condition or the action.
Thanks, Peter