View Single Post
 
Old 10-31-2013, 09:13 AM
SaneMan SaneMan is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Jan 2011
Posts: 20
SaneMan is on a distinguished road
Default VBA to insert field references

Hi all

I'd be grateful if someone could help me with a Word VBA query I have. I'm trying to write a code which automatically insert field references into a word document.

You can do this manually by pressing Ctrl & F9 and then type the reference into the field. However, when I record myself doing this the macro only picks it up as plain text, not as a reference.

Does anyone know how I would go about doing this via VBA, or if it's even possible.

Many thanks

Antony
Reply With Quote