E
Ed
Is there a "WithinField" type method to determine if a collapsed cursor is
within a field?
I want to be able to determine if my cursor is in a field and then determine
certain values of the field.
There are ways to determine if a cursor is in a table
(Selection.Information(wdWithInTable)) but I cannot find a similar technique
for a field. (I tried A = Selection.Field(1) when the cursor was in a field,
but it errored out. Unlike the 'table' method, unless the entire field is
highlighted, VBA doesn't seem to know that it is in a field.)
Is there a way?
--Ed (in Virginia)
within a field?
I want to be able to determine if my cursor is in a field and then determine
certain values of the field.
There are ways to determine if a cursor is in a table
(Selection.Information(wdWithInTable)) but I cannot find a similar technique
for a field. (I tried A = Selection.Field(1) when the cursor was in a field,
but it errored out. Unlike the 'table' method, unless the entire field is
highlighted, VBA doesn't seem to know that it is in a field.)
Is there a way?
--Ed (in Virginia)