When using a VBA program, I have a pop up box that appears
on the screen and allows the user to enter information.
After I input all the specific information on a person and
click OK, it should load a series of word documents that
will mailmerge information into different templates.
However, when I click OK, I get a pop-up message that says
Word cannot Open teh Exisiting (box symbol). I click OK
and then it loads up anyway. Then, when I try to close
after the templates have loaded, I get a pop-up screen
entitled "Templates". I have to click OK several times
before the program will end the calcuation on that
person.

Any help or assistance to guide me to where the problem is
would be greatly appreciated.

Re: Problem in VBA with opening Word templates. by Word

Word
Mon Jul 12 19:17:16 CDT 2004

G'day "tbankston21" <tbankston21@yahoo.com>,

You arent setting one of your variables correctly - please post code
samples for correction. My psychic powers are a bit dim today :-)


Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


tbankston21 reckoned:

>When using a VBA program, I have a pop up box that appears
>on the screen and allows the user to enter information.
>After I input all the specific information on a person and
>click OK, it should load a series of word documents that
>will mailmerge information into different templates.
>However, when I click OK, I get a pop-up message that says
>Word cannot Open teh Exisiting (box symbol). I click OK
>and then it loads up anyway. Then, when I try to close
>after the templates have loaded, I get a pop-up screen
>entitled "Templates". I have to click OK several times
>before the program will end the calcuation on that
>person.
>
>Any help or assistance to guide me to where the problem is
>would be greatly appreciated.