Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Congenital Kano Congenital Kano is offline
external usenet poster
 
Posts: 5
Default Word 2003 - Where does Word store Userform code?

I created a template and userform to fill in a form letter for my wife's PTA treasurer job on my PC. Worked just fine - creating a new doc based on the template called the userform and passed the variables to the doc. I copied the letter template to various locations on her machine (including the default \users\...\templates) directory. The template shows up, but when I create a new doc based on the template the userform does not appear.

OK, I thought, maybe it's because her machine has Word 2002 and it was created in 2003; I install 2003 on her machine. No love.

Fine, maybe it is making a call to normal.dot, so I replaced her Normal.dot with mine. I know it is using my normal.dot because my macro buttons etc. appear. Still will not call the userform.

What am I doing wrong? What do I need to copy or change to call the userform from the template?

One thing that niggles my memory is whether I was asked to save the userform to a certain location - I don't remember (as I recall, you don't save the userform, just close the VBA window, but I may have been asked for a location the first time).

Any help will be appreciated. The trouble I get into when trying to be nice to my wife...

TIA!
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default Word 2003 - Where does Word store Userform code?

I can only assume that the user form is part of the template project.

Open the template, then open the VB Editor (Alt+F11). Open the project explorer CTRL+r and see if you have a forms folder in the project that contains your form.

Did you include an AutoNew() procedure in your template to initialize and show the form?

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

"It is not the critic who counts, not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man in the arena, whose face is marred by dust and sweat and blood, who strives valiantly...who knows the great enthusiasms, the great devotions, who spends himself in a worthy cause, who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who have never known neither victory nor defeat." - TR


"Congenital Kano" wrote in message ...
I created a template and userform to fill in a form letter for my wife's PTA treasurer job on my PC. Worked just fine - creating a new doc based on the template called the userform and passed the variables to the doc. I copied the letter template to various locations on her machine (including the default \users\...\templates) directory. The template shows up, but when I create a new doc based on the template the userform does not appear.

OK, I thought, maybe it's because her machine has Word 2002 and it was created in 2003; I install 2003 on her machine. No love.

Fine, maybe it is making a call to normal.dot, so I replaced her Normal.dot with mine. I know it is using my normal.dot because my macro buttons etc. appear. Still will not call the userform.

What am I doing wrong? What do I need to copy or change to call the userform from the template?

One thing that niggles my memory is whether I was asked to save the userform to a certain location - I don't remember (as I recall, you don't save the userform, just close the VBA window, but I may have been asked for a location the first time).

Any help will be appreciated. The trouble I get into when trying to be nice to my wife...

TIA!
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a Word 2003 toolbar into a 2007 UserForm? gil Microsoft Word Help 2 August 29th 09 02:34 PM
Userform in word SuzieQ Microsoft Word Help 2 December 12th 05 09:42 PM
Word 2003 Field code within a field code Cheryl Mailmerge 2 November 25th 05 08:31 AM
Where does MS Word 2003 store the database login information [email protected] Mailmerge 0 November 7th 05 04:21 PM
Where does word 2003 store list of words 'ignored' during spell ch Sameeksha Microsoft Word Help 2 May 11th 05 06:51 AM


All times are GMT +1. The time now is 12:32 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"