Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I know how to get variables value:
Set
v = ActiveDocument.Variables(var)
getVariable = v.GetContent. String
But how to set variable value thru macro
Pls suggest
Hi Arum,
Try searching this forum.
I have seen many threads like your scenario which has been solved in this forum.
- Sridhar
I got it from this forum only
Set
var.SetContent "Show", true
i dont know what does this "true" stands for but it is compulsory to give it
thanks Sridhar
var = ActiveDocument.Variables("yHideShow")I got it from this forum only
Set
var.SetContent "Show", true
i dont know what does this "true" stands for but it is compulsory to give it
thanks Sridhar
thanks forum
The API guide is always a great place to look.
set v = ActiveDocument.Variables("Variable1")
v.SetContent "123",true
"True if variable MRU list is to be updated"
/Martin