Elementary VB question (for you, that is):
I recorded the following macro in Word 2003 to find a dashed line and move it up one position up from its current position:
Selection.Find.ClearFormatting
With Selection.Find
.Text = "____________________________________________________"
.Forward = True
.Wrap = wdFindContinue
End With
Selection.Find.Execute
Selection.Range.Relocate wdRelocateUp
My Problem: There are many instances of the dashed line in my document, but this only works for the first instance, and I can't seem to figure out how to make it find and reposition every dashed line in the document.
Please help!
I recorded the following macro in Word 2003 to find a dashed line and move it up one position up from its current position:
Selection.Find.ClearFormatting
With Selection.Find
.Text = "____________________________________________________"
.Forward = True
.Wrap = wdFindContinue
End With
Selection.Find.Execute
Selection.Range.Relocate wdRelocateUp
My Problem: There are many instances of the dashed line in my document, but this only works for the first instance, and I can't seem to figure out how to make it find and reposition every dashed line in the document.
Please help!