D
DonnaP.
I have a bookmark that is being used 10 times throughout a document that I
need to have bolded once the user fills in the appropriate text information
in the dialog that I have created. I know it can be done on an individual
basis using the following language:
Dim strSum As String
strSum = fvGetVariableValue("TxtAmount")
With ActiveDocument.Bookmarks("TxtAmount").Range
.Text = strSum
.Bold = True
End With
However, I believe I would need to do this 10 times (changing the txtamount
to txtamount1, txtamount2, etc.) I know there is a way to change a variable
globally throughout a template with the uppercase:
Dim strReleasorName As String
strReleasorName = fvGetVariableValue("TxtReleasor_Name")
If Len(strReleasorName) > 0 Then
strReleasorName = UCase$(strReleasorName)
sbSetVariableValue "TxtReleasor_Name", strReleasorName
End If
Is there a way to do the same thing for bolding the text string?
need to have bolded once the user fills in the appropriate text information
in the dialog that I have created. I know it can be done on an individual
basis using the following language:
Dim strSum As String
strSum = fvGetVariableValue("TxtAmount")
With ActiveDocument.Bookmarks("TxtAmount").Range
.Text = strSum
.Bold = True
End With
However, I believe I would need to do this 10 times (changing the txtamount
to txtamount1, txtamount2, etc.) I know there is a way to change a variable
globally throughout a template with the uppercase:
Dim strReleasorName As String
strReleasorName = fvGetVariableValue("TxtReleasor_Name")
If Len(strReleasorName) > 0 Then
strReleasorName = UCase$(strReleasorName)
sbSetVariableValue "TxtReleasor_Name", strReleasorName
End If
Is there a way to do the same thing for bolding the text string?