R
RayJ_BirminghamUK
Hello everybody
I am a novice VBA programmer and started what seemed like a simple bit of
programming but it has proven to be harder than I thought.
Basically I have a form template (TemplateA) which is stored centrally and
accessed by many users. I need to replace this with a newer version
(TemplateB) don’t wish to remove the old version in case there are documents
still in use with references back to TemplateA
I created an AutoNew Macro in TemplateA which pops up a message box to say
you are using an old version and will be redirected to the new template
(TemplateB)
That works fine except I want to close the document created by the user
double clicking on TemplateA .
How do I find the document and close it leaving TemplateB open and active.
Templates were created in Word 2000 and are used in either Word 2000 or Word
2002.
Thanks in advance for any help you can offer.
I am a novice VBA programmer and started what seemed like a simple bit of
programming but it has proven to be harder than I thought.
Basically I have a form template (TemplateA) which is stored centrally and
accessed by many users. I need to replace this with a newer version
(TemplateB) don’t wish to remove the old version in case there are documents
still in use with references back to TemplateA
I created an AutoNew Macro in TemplateA which pops up a message box to say
you are using an old version and will be redirected to the new template
(TemplateB)
That works fine except I want to close the document created by the user
double clicking on TemplateA .
How do I find the document and close it leaving TemplateB open and active.
Templates were created in Word 2000 and are used in either Word 2000 or Word
2002.
Thanks in advance for any help you can offer.