D
Diane
Group,
Normally when creating vba code, I'll start with a recorded macro and then
customize the code as needed. Once code is completed, (if needed) I will add
a toolbar button for the macro, i.e....tools, customize, commands, and from
the list of macros, create my button - works great. In this situation, I did
not "record" my macro, but instead within the VBA editor, created a user
form, completed my code and all is good. Now....I need to assign this user
form to a toolbar button, although, with using the same steps as above, my
form is not listed in the macro list, this makes sense to me since I did not
initially create a "macro" but instead developed a user form. I'm not sure
how to create my toolbar button when the user form is not in any list to
choose from. Creating the toolbar button will complete my project.
Any suggestions will be appreciated.
Normally when creating vba code, I'll start with a recorded macro and then
customize the code as needed. Once code is completed, (if needed) I will add
a toolbar button for the macro, i.e....tools, customize, commands, and from
the list of macros, create my button - works great. In this situation, I did
not "record" my macro, but instead within the VBA editor, created a user
form, completed my code and all is good. Now....I need to assign this user
form to a toolbar button, although, with using the same steps as above, my
form is not listed in the macro list, this makes sense to me since I did not
initially create a "macro" but instead developed a user form. I'm not sure
how to create my toolbar button when the user form is not in any list to
choose from. Creating the toolbar button will complete my project.
Any suggestions will be appreciated.