Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everybody, I am trying to cycle through groups using a macro so (example) I am using the code:
for x = 1 to 4
set grp = ActiveDocument.GetGroup (<GroupName>)
msgbox (grp.GetActiveField.Name)
grp.Cycle 1
next
to look at 4 field names within the group. This works fine except that one of the fields is a calculated expression and at this point I get the error 'Object Required - grp.GetActiveField'.
Does anybody know what is wrong ? It works fine for teh non-calculated expressions.
see link this helps you
see link this helps you
Perfect. Many thanks