Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have the following in a macro:
set
myfield = ActiveDocument.Fields("ACCTNUM").GetPossibleValues()the field ACCTNUM has more than 300 values, but myfield only have 100, I think there is a limit of values a variable can store.
Does enyone knows a workaround for this problem?
Thank you
GetPossibleValues returns up to 100 values by default. You can change the default by adding another parameter:
...GetPossibleValues 10000
GetPossibleValues returns up to 100 values by default. You can change the default by adding another parameter:
...GetPossibleValues 10000