RP1America
Technical User
Given the following code...
Code:
Dim file
Dim path As String
path = "I:\Ryan Plew\Cost Pages Originals\10Proposal Templates - 457(b)\"
file = Dir(path & "*.doc")
Do While file <> ""
Documents.Open FileName:=path & file
With Selection
With .Find
.ClearFormatting
.Text = "All Contributions and transfers to the Stable Value Account (SVA) will earn interest at the rate in effect at the time such contribution or transfer is made. All monies in the SVA will earn interest at that rate until that rate is changed. We may declare a new rate for the SVA that becomes effective on January 1 of each calendar year."
.Replacement.Text = "AUL will declare an annual effective interest rate for the Stable Value Account (SVA) that becomes effective on January 1 of each calendar year. All monies in the SVA will earn interest at the rate in effect during that calendar year. Deposits into the SVA during 2010 will be initially credited with interest at the annual effective rate of X.XX%."
.Forward = True
.Execute Replace:=wdReplaceAll
End With
.HomeKey Unit:=wdLine
End With
With ActiveDocument
.Save
.Close
End With
file = Dir()
Loop
End Sub
How can I make "X.XX%" in the replacement text a bookmark called SVRT?
Thanks!