Opening a user for from a Custom Toolbar

D

Dave C

I have a couple of userforms that I want to open by providing a custom
toolbar. I guess I would do this by placing macros on the toolbar but can
someone advise how I would reference the userforms within the macro?

Thanks .. Dave
 
S

spunkymuffmonkey

Hi Dave,

One way would be to created a sub within the document or a new module that
simply loads the userform, e.g.:

Public Sub ShowUserForm1

Userform1.Show

End Sub

and then link the button to this sub, capice?
 
D

Dave C

Thanks .... that was so simple it was untrue

spunkymuffmonkey said:
Hi Dave,

One way would be to created a sub within the document or a new module that
simply loads the userform, e.g.:

Public Sub ShowUserForm1

Userform1.Show

End Sub

and then link the button to this sub, capice?
 

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