Sub ScratchMacro()
Dim i As Long
i = 3
Select Case i
Case Is < 3
ActiveDocument.FormFields("Text1").Result = "Some text here"
Case Is = 3
ActiveDocument.FormFields("Text1").Result = "Some other text here"
Case Else
ActiveDocument.FormFields("Text1").Result = "Still some other text here"
End Select
End Sub
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.