userform problems

G

Glenn Rose-Ward

Hi !

I'm a little new to this version of VBA Office 2003 and am having problems
trying to create and remove a custom commandbar button from the File Menu
commandbar.
Managed to create it but can't seem to remove it !
How do i locate and remove the custom button, which can have various
different names (it's used to indicate the department selected for workgroup
templates)

Many thanks

Glenn
 
J

Jonathan West

Hi Glenn

would suggest that when you create it, you give the Tag property some value
or other. Then you can go through the controls collection of that menu until
you come to the one whose Tag property matches what you set, and then delete
the control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top