To get the userform to be displayed, you need to have your button run a
macro that contains code of the following form:
Dim MyDlg As MyUserForm
Set MyDlg = New MyUserForm
MyDlg.Show
Set MyDlg = Nothing
Where MyUserForm is the name assigned to your UserForm.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> I'm trying to create a custom button to call a macro that runs via
> userform
[quoted text clipped - 8 lines]
>
> -Ithaca
Ithaca - 15 Oct 2006 18:33 GMT
Thanks a lot Doug! That works perfectly.
I want to set up this macro and custom button on multiple users computers
here at work so is there an easier way than manually doing so to each
computer?
> To get the userform to be displayed, you need to have your button run a
> macro that contains code of the following form:
[quoted text clipped - 5 lines]
>
> Where MyUserForm is the name assigned to your UserForm.
Jay Freedman - 15 Oct 2006 18:35 GMT
And for distributing the button, macro, and userform (all in the same
template) to other users, see
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
>To get the userform to be displayed, you need to have your button run a
>macro that contains code of the following form:
[quoted text clipped - 18 lines]
>>
>> -Ithaca
Ithaca - 16 Oct 2006 00:09 GMT
so if I create a new template I can just email it and copy it to the user's
Word startup file? and my buttons and everything will be there??
> And for distributing the button, macro, and userform (all in the same
> template) to other users, see
[quoted text clipped - 29 lines]
> >>
> >> -Ithaca
Jay Freedman - 16 Oct 2006 01:59 GMT
Right. The hardest part is getting the user to put the file in the
correct folder. Since it's marked as a hidden folder, most people need
to be shown how to set Windows Explorer to let them see it.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
>so if I create a new template I can just email it and copy it to the user's
>Word startup file? and my buttons and everything will be there??
[quoted text clipped - 32 lines]
>> >>
>> >> -Ithaca
Ithaca - 16 Oct 2006 03:54 GMT
Ha! I think I'll be setting it up since it's only like five computers...
Eliminate at least some of the error in the process, but there's no way to
eliminate my own errors :D
Thanks Jay and Doug!!!
> Right. The hardest part is getting the user to put the file in the
> correct folder. Since it's marked as a hidden folder, most people need
[quoted text clipped - 6 lines]
> Email cannot be acknowledged; please post all follow-ups to the
> newsgroup so all may benefit.