Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2004

Tip: Looking for answers? Try searching our database.

Code to trick Fill-in Prompt on XP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LindaG - 22 Jul 2004 02:52 GMT
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
Peter Jamieson - 23 Jul 2004 10:06 GMT
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

Signature

Peter Jamieson

> 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:
>
[quoted text clipped - 18 lines]
>
> ********  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
LindaG - 24 Jul 2004 04:22 GMT
I will test this with our user on Monday.  Thank you very, very much for your help!

> 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.
[quoted text clipped - 42 lines]
> > Many thanks!
> > LG
Graham Mayor - 23 Jul 2004 11:22 GMT
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.
Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> 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
[quoted text clipped - 37 lines]
> Many thanks!
> LG
LindaG - 24 Jul 2004 04:20 GMT
I didn't know about this - I will set this on Monday.  Thank you so much for your reply!

> Have you set the network folder as the Workgroup folder for that user?
> (Tools > options > file locations)
[quoted text clipped - 40 lines]
> > Many thanks!
> > LG
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.