Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
how can i get the selection of a field using alternate states? I tried like:
set vCustomers = ActiveDocument.GetField("{[State1]}CUSTOMERS")
or
set vCustomers = ActiveDocument.GetField("State1::CUSTOMERS")
Thank you
Try this:
Set vCustomers = ActiveDocument.GetField("CUSTOMERS", "State1")
or
Set vCustomers = ActiveDocument.Fields("CUSTOMERS", "State1")
Try this:
Set vCustomers = ActiveDocument.GetField("CUSTOMERS", "State1")
or
Set vCustomers = ActiveDocument.Fields("CUSTOMERS", "State1")
Thank you mchasse1