K
keith brickey
My document has a paragraph style named "myData." When I select one
paragraph and run this subroutine:
For Each para In Selection.Paragraphs
para.Style = myData
Next para
I get the following error message:
"One of the values passed to this method or property is out of range,"
and the line:
para.Style = myData
is highlighted.
What am I doing wrong?
paragraph and run this subroutine:
For Each para In Selection.Paragraphs
para.Style = myData
Next para
I get the following error message:
"One of the values passed to this method or property is out of range,"
and the line:
para.Style = myData
is highlighted.
What am I doing wrong?