G
Greg
I recently worked with some code like this
Dim aWord As Range
For each aWord in ActiveDocument.Words
Do something
Next aWord
Now I am trying to work with paragraphs. I started with code like this:
Dim aParagraph As Range
For each aParagraph in ActiveDocument.Paragraphs
Do something
Next aParagraph
With this code I am getting a RTE '13' Type mismatch.
What is causing this error? Thanks.
Dim aWord As Range
For each aWord in ActiveDocument.Words
Do something
Next aWord
Now I am trying to work with paragraphs. I started with code like this:
Dim aParagraph As Range
For each aParagraph in ActiveDocument.Paragraphs
Do something
Next aParagraph
With this code I am getting a RTE '13' Type mismatch.
What is causing this error? Thanks.