Merge field to text or auto update

T

TaurArian

With the help of Greg Maxey I've got this far (BTW Great site).

I've created {SET Name {Fillin "What is your name"}{Ref Name}}
Which works, it asks me to set the Name Reference when I create a new
document from a Template. So far so good.

In the document if have {REF Name \ *Upper \*MERGEFORMAT}
In order to see the field updated I need to Shift F9.

What I want to know is can it be automatically updated without user
intervention or in the alternative, the field converted to text so that the
result is instantly available.

Thanking you in advance. Simple instructions would be appreciated.

Kaylene
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?VGF1ckFyaWFu?=,
With the help of Greg Maxey I've got this far (BTW Great site).

I've created {SET Name {Fillin "What is your name"}{Ref Name}}
Which works, it asks me to set the Name Reference when I create a new
document from a Template. So far so good.

In the document if have {REF Name \ *Upper \*MERGEFORMAT}
In order to see the field updated I need to Shift F9.

What I want to know is can it be automatically updated without user
intervention or in the alternative, the field converted to text so that the
result is instantly available.
You are asking for a macro solution, right (since you're posting in a VBA
newsgroup)? The trick is to get something that will trigger the macro. What
kind of actions would you expect the user might take when working in the
document?

But, if a macro solution is acceptable to you, anyway, why bother with a
Fillin field at all? Why not display an InputBox or UserForm to get the
information? This could be put in a document Variable or document Property and
displayed throughout the document using a DocVariable or DocProperty field.
And the macro could also take care of forcing the field updates.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
Top