Code to trick Fill-in Prompt on XP

L

LindaG

I work on a helpdesk and have a user on Word 2002 XP who wants to store a template with Fill-in prompts on a network drive, not in the Templates folder on her C drive. When we open the file, the prompts won't display - only if we store it in the templates folder and use File New.

Cindy M (MVP from Switzerland) posted this on another site:

Hi Brian,

I think the problem you're running into here is that when you hyperlink to a
file you're actually *opening* the file. Since the automatic display of
Fillin field prompts only triggers when you create a new document from a
template, and not when you open the template, you won't get the Fillin fields
automatically. This means you'd need to use a macro, either to create a new
document (instead of a hyperlink), or to force the field updates when you
click the button.

If you don't want macros, then Ctrl+A, F9 should do what you need :)

[Original message clipped]

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

******** I do want a macro or piece of code that I can store in the master version on the network, and will "trick" Word into thinking the file has been opened from the template folder. Can anyone help me with this please? We have mucked about with this for almost a month!

Many thanks!
LG
 
P

Peter Jamieson

If your fields are in the main body of the document and you do not mind
executing /all/ the fields, a macro as follows, in any module (e.g.
"Module1") in the /document/ should do the trick

Sub AutoOpen()

ActiveDocument.Fields.Update

End Sub

--
Peter Jamieson

LindaG said:
I work on a helpdesk and have a user on Word 2002 XP who wants to store a
template with Fill-in prompts on a network drive, not in the Templates
folder on her C drive. When we open the file, the prompts won't display -
only if we store it in the templates folder and use File New.
Cindy M (MVP from Switzerland) posted this on another site:

Hi Brian,

I think the problem you're running into here is that when you hyperlink to a
file you're actually *opening* the file. Since the automatic display of
Fillin field prompts only triggers when you create a new document from a
template, and not when you open the template, you won't get the Fillin fields
automatically. This means you'd need to use a macro, either to create a new
document (instead of a hyperlink), or to force the field updates when you
click the button.

If you don't want macros, then Ctrl+A, F9 should do what you need :)

[Original message clipped]

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)


******** I do want a macro or piece of code that I can store in the
master version on the network, and will "trick" Word into thinking the file
has been opened from the template folder. Can anyone help me with this
please? We have mucked about with this for almost a month!
 
G

Graham Mayor

Have you set the network folder as the Workgroup folder for that user?
(Tools > options > file locations)
Word should then see the template as if it were stored on the local machine.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
L

LindaG

I didn't know about this - I will set this on Monday. Thank you so much for your reply!

Graham Mayor said:
Have you set the network folder as the Workgroup folder for that user?
(Tools > options > file locations)
Word should then see the template as if it were stored on the local machine.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


I work on a helpdesk and have a user on Word 2002 XP who wants to
store a template with Fill-in prompts on a network drive, not in the
Templates folder on her C drive. When we open the file, the prompts
won't display - only if we store it in the templates folder and use
File New.

Cindy M (MVP from Switzerland) posted this on another site:

Hi Brian,

I think the problem you're running into here is that when you
hyperlink to a
file you're actually *opening* the file. Since the automatic display
of
Fillin field prompts only triggers when you create a new document
from a
template, and not when you open the template, you won't get the
Fillin fields
automatically. This means you'd need to use a macro, either to create
a new
document (instead of a hyperlink), or to force the field updates when
you
click the button.

If you don't want macros, then Ctrl+A, F9 should do what you need :)

[Original message clipped]

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)


******** I do want a macro or piece of code that I can store in the
master version on the network, and will "trick" Word into thinking
the file has been opened from the template folder. Can anyone help
me with this please? We have mucked about with this for almost a
month!

Many thanks!
LG
 
L

LindaG

I will test this with our user on Monday. Thank you very, very much for your help!

Peter Jamieson said:
If your fields are in the main body of the document and you do not mind
executing /all/ the fields, a macro as follows, in any module (e.g.
"Module1") in the /document/ should do the trick

Sub AutoOpen()

ActiveDocument.Fields.Update

End Sub

--
Peter Jamieson

LindaG said:
I work on a helpdesk and have a user on Word 2002 XP who wants to store a
template with Fill-in prompts on a network drive, not in the Templates
folder on her C drive. When we open the file, the prompts won't display -
only if we store it in the templates folder and use File New.
Cindy M (MVP from Switzerland) posted this on another site:

Hi Brian,

I think the problem you're running into here is that when you hyperlink to a
file you're actually *opening* the file. Since the automatic display of
Fillin field prompts only triggers when you create a new document from a
template, and not when you open the template, you won't get the Fillin fields
automatically. This means you'd need to use a macro, either to create a new
document (instead of a hyperlink), or to force the field updates when you
click the button.

If you don't want macros, then Ctrl+A, F9 should do what you need :)

[Original message clipped]

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)


******** I do want a macro or piece of code that I can store in the
master version on the network, and will "trick" Word into thinking the file
has been opened from the template folder. Can anyone help me with this
please? We have mucked about with this for almost a month!
Many thanks!
LG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top