S
sek0910
I recorded a macro that opens a document in my My Documents Folder
When I created the macro, I assigned a button to it which appears on my
Quick Access Toolbar.
When I run the maco from Visual Basic Window, it runs OK
when I run it from the the Macros Window that opens when I click on the
Macros icon in the menu, the macro runs ok
BUT when I click on the associated button on the Quick Access Toolbar, a
small window opens with the title "Microsoft Visual Basic" and displays an X
in a red circle with no explanatory text and an "OK" and "Help" button. When
I press OK, the window closes and nothing happens. Clicking on the Help
button merely opens a generic help window.
Any suggestions? Also, once a macro is written and assigned to a button or
hotkey, how do you change the macro name and/or button or hotkey?
Thanks,
Steve
When I created the macro, I assigned a button to it which appears on my
Quick Access Toolbar.
When I run the maco from Visual Basic Window, it runs OK
when I run it from the the Macros Window that opens when I click on the
Macros icon in the menu, the macro runs ok
BUT when I click on the associated button on the Quick Access Toolbar, a
small window opens with the title "Microsoft Visual Basic" and displays an X
in a red circle with no explanatory text and an "OK" and "Help" button. When
I press OK, the window closes and nothing happens. Clicking on the Help
button merely opens a generic help window.
Any suggestions? Also, once a macro is written and assigned to a button or
hotkey, how do you change the macro name and/or button or hotkey?
Thanks,
Steve