I have a form that I have created in word using VBA, how do I call it up
automatically when MS Word opens? What is the code and where do I put it?

Thank you,

Re: load form into word upon opening by Anne

Anne
Tue Sep 20 13:54:50 CDT 2005

Hi, Marilyn. Try this:
Sub Document_Open()
UserForm1.Show
End Sub

If it's a template, change the name to Sub Document_New()
The sub goes into ThisDocument.
************
Anne Troy
www.OfficeArticles.com



"marilyn" <marilyn@discussions.microsoft.com> wrote in message
news:D3C77FD9-9F0F-47EF-90D3-0CE81C0DDAA9@microsoft.com...
>I have a form that I have created in word using VBA, how do I call it up
> automatically when MS Word opens? What is the code and where do I put it?
>
> Thank you,



Re: load form into word upon opening by marilyn

marilyn
Tue Sep 20 14:31:10 CDT 2005

Thank you Anne, It is not a template, I designed the form using VBA Forms and
called it Userform1. I am a newbie at this so please just be patient with me.
Once this has been accomplished I need to figure out out to break the form
down into two pages and then add a table. I keep telling myself one step at a
time and I will get it.

"Anne Troy" wrote:

> Hi, Marilyn. Try this:
> Sub Document_Open()
> UserForm1.Show
> End Sub
>
> If it's a template, change the name to Sub Document_New()
> The sub goes into ThisDocument.
> ************
> Anne Troy
> www.OfficeArticles.com
>
>
>
> "marilyn" <marilyn@discussions.microsoft.com> wrote in message
> news:D3C77FD9-9F0F-47EF-90D3-0CE81C0DDAA9@microsoft.com...
> >I have a form that I have created in word using VBA, how do I call it up
> > automatically when MS Word opens? What is the code and where do I put it?
> >
> > Thank you,
>
>
>

Re: load form into word upon opening by Anne

Anne
Tue Sep 20 16:13:30 CDT 2005

Why are you using a userform in the first place? Sounds like you should be
using this:
http://www.officearticles.com/word/create_a_fill-in_form_in_microsoft_word.htm

************
Anne Troy
www.OfficeArticles.com

"marilyn" <marilyn@discussions.microsoft.com> wrote in message
news:68F41AE6-2BD3-43F3-9A6F-244ECBA38774@microsoft.com...
> Thank you Anne, It is not a template, I designed the form using VBA Forms
> and
> called it Userform1. I am a newbie at this so please just be patient with
> me.
> Once this has been accomplished I need to figure out out to break the form
> down into two pages and then add a table. I keep telling myself one step
> at a
> time and I will get it.
>
> "Anne Troy" wrote:
>
>> Hi, Marilyn. Try this:
>> Sub Document_Open()
>> UserForm1.Show
>> End Sub
>>
>> If it's a template, change the name to Sub Document_New()
>> The sub goes into ThisDocument.
>> ************
>> Anne Troy
>> www.OfficeArticles.com
>>
>>
>>
>> "marilyn" <marilyn@discussions.microsoft.com> wrote in message
>> news:D3C77FD9-9F0F-47EF-90D3-0CE81C0DDAA9@microsoft.com...
>> >I have a form that I have created in word using VBA, how do I call it up
>> > automatically when MS Word opens? What is the code and where do I put
>> > it?
>> >
>> > Thank you,
>>
>>
>>



Re: load form into word upon opening by marilyn

marilyn
Tue Sep 20 17:36:01 CDT 2005

I have been working with access and just trying to learn it on my own. This
form will work just great, Thank you! Thank you!

"Anne Troy" wrote:

> Why are you using a userform in the first place? Sounds like you should be
> using this:
> http://www.officearticles.com/word/create_a_fill-in_form_in_microsoft_word.htm
>
> ************
> Anne Troy
> www.OfficeArticles.com
>
> "marilyn" <marilyn@discussions.microsoft.com> wrote in message
> news:68F41AE6-2BD3-43F3-9A6F-244ECBA38774@microsoft.com...
> > Thank you Anne, It is not a template, I designed the form using VBA Forms
> > and
> > called it Userform1. I am a newbie at this so please just be patient with
> > me.
> > Once this has been accomplished I need to figure out out to break the form
> > down into two pages and then add a table. I keep telling myself one step
> > at a
> > time and I will get it.
> >
> > "Anne Troy" wrote:
> >
> >> Hi, Marilyn. Try this:
> >> Sub Document_Open()
> >> UserForm1.Show
> >> End Sub
> >>
> >> If it's a template, change the name to Sub Document_New()
> >> The sub goes into ThisDocument.
> >> ************
> >> Anne Troy
> >> www.OfficeArticles.com
> >>
> >>
> >>
> >> "marilyn" <marilyn@discussions.microsoft.com> wrote in message
> >> news:D3C77FD9-9F0F-47EF-90D3-0CE81C0DDAA9@microsoft.com...
> >> >I have a form that I have created in word using VBA, how do I call it up
> >> > automatically when MS Word opens? What is the code and where do I put
> >> > it?
> >> >
> >> > Thank you,
> >>
> >>
> >>
>
>
>

Re: load form into word upon opening by Anne

Anne
Tue Sep 20 17:55:06 CDT 2005

You're welcome! It's a lot like people who search for help on a checkbox end
up using the Control Toolbox instead of the Forms Toolbar, and it's just a
crying shame. Good luck! You'll likely be much happier with this method.
************
Anne Troy
www.OfficeArticles.com

"marilyn" <marilyn@discussions.microsoft.com> wrote in message
news:477F6BD8-832A-4191-8DB9-DF091E708CE1@microsoft.com...
>I have been working with access and just trying to learn it on my own. This
> form will work just great, Thank you! Thank you!
>
> "Anne Troy" wrote:
>
>> Why are you using a userform in the first place? Sounds like you should
>> be
>> using this:
>> http://www.officearticles.com/word/create_a_fill-in_form_in_microsoft_word.htm
>>
>> ************
>> Anne Troy
>> www.OfficeArticles.com
>>
>> "marilyn" <marilyn@discussions.microsoft.com> wrote in message
>> news:68F41AE6-2BD3-43F3-9A6F-244ECBA38774@microsoft.com...
>> > Thank you Anne, It is not a template, I designed the form using VBA
>> > Forms
>> > and
>> > called it Userform1. I am a newbie at this so please just be patient
>> > with
>> > me.
>> > Once this has been accomplished I need to figure out out to break the
>> > form
>> > down into two pages and then add a table. I keep telling myself one
>> > step
>> > at a
>> > time and I will get it.
>> >
>> > "Anne Troy" wrote:
>> >
>> >> Hi, Marilyn. Try this:
>> >> Sub Document_Open()
>> >> UserForm1.Show
>> >> End Sub
>> >>
>> >> If it's a template, change the name to Sub Document_New()
>> >> The sub goes into ThisDocument.
>> >> ************
>> >> Anne Troy
>> >> www.OfficeArticles.com
>> >>
>> >>
>> >>
>> >> "marilyn" <marilyn@discussions.microsoft.com> wrote in message
>> >> news:D3C77FD9-9F0F-47EF-90D3-0CE81C0DDAA9@microsoft.com...
>> >> >I have a form that I have created in word using VBA, how do I call it
>> >> >up
>> >> > automatically when MS Word opens? What is the code and where do I
>> >> > put
>> >> > it?
>> >> >
>> >> > Thank you,
>> >>
>> >>
>> >>
>>
>>
>>