Hello all,
I am trying to Dim some text as a variable for another macro of mine. For example, the value I want to Dim is located between the words "to host the" and "group at the location". Once I have the variable, I want to use it to fill in other paragraphs throughout my document, something like this -
Code:
With Selection.Find
.Text = "The event is to be held with the designated group at the location"
.Replacement.Text = "The event is to be held with the " & Dim VARIABLE & " group at the location"
End With
Selection.Find.Execute Replace:=wdReplaceAll
Any solutions to how I could go about this?