T
Tom
I am creating some templates. Normally I would use a
FILLIN Field to get information from the user however I
want to excecute certain lines of code based on the
answer. So I am using ASK and storing the info in a
bookmark. However I don't know how to compare the value
of a bookmark in an If statement.
Selection.Fields.Add Range:=Selection.Range,
Type:=wdFieldEmpty,
Text:= _ "ASK someBookmark ""Prompt:"" ",
PreserveFormatting:=True
If someBookmark = "TEST" Then (This does not work)
End if
Any suggestions would be greatly appreciated.
Thanks,
Tom
FILLIN Field to get information from the user however I
want to excecute certain lines of code based on the
answer. So I am using ASK and storing the info in a
bookmark. However I don't know how to compare the value
of a bookmark in an If statement.
Selection.Fields.Add Range:=Selection.Range,
Type:=wdFieldEmpty,
Text:= _ "ASK someBookmark ""Prompt:"" ",
PreserveFormatting:=True
If someBookmark = "TEST" Then (This does not work)
End if
Any suggestions would be greatly appreciated.
Thanks,
Tom