here is the code, i am using Step through in the debugger, when i get to .Select it says, "Cant Execute in Break Mode" . it actually stills selects the sentence and I can continue but still displays this error msg. I would like to select the sentence, to visually track the changes.
Anyway to fix this issue? thanks
Code:
If do_DocVars_Exist = 1 Then
sentNumb = ActiveDocument.Variables("selNumb").Value
Set prevSent = doc.Sentences(sentNumb)
With prevSent
.Select
.Font.Size = ActiveDocument.Variables("selSize").Value
.Font.Color = ActiveDocument.Variables("selColor").Value
.Font.Name = ActiveDocument.Variables("selName").Value
End With
End If