Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
i would like to export data from a table that based on an selection over few fields, but i dont know which values the user has taken.
I need to invert the selection to get the opposit of the values for further processing.
Is it possible to invert the selection with an macro, if i dont know which selection is currently active ?
Best regards,
Manic.
For a specific field you can use the following to "select excluded":
ActiveDocument.Fields("FieldName").SelectExcluded
Although I'm not sure that is what you're looking for. You can also check out: ActiveDocument.GetCurrentSelections.
For a specific field you can use the following to "select excluded":
ActiveDocument.Fields("FieldName").SelectExcluded
Although I'm not sure that is what you're looking for. You can also check out: ActiveDocument.GetCurrentSelections.
Thank you, Isaiah!
That is exactly what i was searching for!
Greetings,
Manic.