A
alainr
I use Word 2002, and was refering to point #3 of:
http://word.mvps.org/FAQs/TblsFldsFms/UsingMacroButton.htm
I was trying to use the {Addin} field inside another field such as:
{REF BookmarkName {ADDIN}}
I then select the {ADDIN} field and assign a value to its "Data" property
using VBA:
Selection.Fields(1).Data = "Test String."
I can then confirm with the VBA locals window that the "Data" field property
of the "Addin" field was properly set.
However, once I select the entire nest field set, or group of fields, and
perform an "Update Field", the value of the "Data" property of the {Addin}
field gets all scrambled!?
This does not happen if the {Addin} field is stand-alone (not nested within
another field).
Does anyone know if this is a bug, if this happens in MS Word 2003 or know
of a workaround for Word 2002?
http://word.mvps.org/FAQs/TblsFldsFms/UsingMacroButton.htm
I was trying to use the {Addin} field inside another field such as:
{REF BookmarkName {ADDIN}}
I then select the {ADDIN} field and assign a value to its "Data" property
using VBA:
Selection.Fields(1).Data = "Test String."
I can then confirm with the VBA locals window that the "Data" field property
of the "Addin" field was properly set.
However, once I select the entire nest field set, or group of fields, and
perform an "Update Field", the value of the "Data" property of the {Addin}
field gets all scrambled!?
This does not happen if the {Addin} field is stand-alone (not nested within
another field).
Does anyone know if this is a bug, if this happens in MS Word 2003 or know
of a workaround for Word 2002?