Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings.
I have variables with predefined lists. I would like to use that list in a macro, and I have no idea how to access it. I can see PreDefinedList as a property, and there is an example on how to set it, but I have no idea how to pull the data from it.
Help?
Thanks.
Hi,
try something like this:
set v = ActiveDocument.Variables("Variable1")
prop = v.GetProperties
dim list2
list2 = prop.PreDefinedList
msgbox(list2(0))
Regards!
Hi,
try something like this:
set v = ActiveDocument.Variables("Variable1")
prop = v.GetProperties
dim list2
list2 = prop.PreDefinedList
msgbox(list2(0))
Regards!
My vb is terrible - I knew I was missing something straightforward.. That's exactly what I needed! Thanks.