Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
there is an application with a variable, named vstep.
Now I want to edit this variable by a macro. On click on the button the variable should added by 1.
e.g. vstep = 5, now it should be 6, on next click 7 and so on.
How can i realize that?
Thanx
This macro should do the job.
sub test
set v = ActiveDocument.Variables("vstep")
var = v.GetContent.String
w = var + 1
v.SetContent w,true
end sub
Philippe
Perfect,
Thanx
Perfect,
Thanx