Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
i need to set the help text of a text object using macro .
thanks in advance:)
why not using a variable in the help text?
Then you can set the content of the variable per macro!
like this:
Function setVariable
set v=ActiveDocument.Variables("nameofyourQVVariable")
v.Forcecontent "1",1
END function
hope this helps
but i am creating the text object using macro and i want that text object to have help text
Hi Nishit,
@Frank Hartmann has right.
the best Option is, to use a variable, with variable yor are best prepared to Change of text content.
beck
here is a macro, which sets the helptext of a textbox:
Sub setHelptext
set g = ActiveDocument.GetSheetObject("TX01")
set gp = g.GetProperties
gp.Layout.Frame.HelpText.v = "FillInYourHelptextHere"
g.SetProperties gp
end Sub
hope this helps!