E
Ed
A macro iterates through all the paragraphs of a range. I'd like to put a
message in the status bar to tell me which paragraph the macro is currently
working on. How do I return the index number of the paragraph?
Ed
For Each par In rng.Paragraphs
If Not par.Range.Information(wdWithInTable) Then
If par.Format.Alignment <> wdAlignParagraphCenter Then
Application.StatusBar = "Now on Para. No. " & ***Paragraph.Index***
& " of " & rng.Paragraphs.Count
message in the status bar to tell me which paragraph the macro is currently
working on. How do I return the index number of the paragraph?
Ed
For Each par In rng.Paragraphs
If Not par.Range.Information(wdWithInTable) Then
If par.Format.Alignment <> wdAlignParagraphCenter Then
Application.StatusBar = "Now on Para. No. " & ***Paragraph.Index***
& " of " & rng.Paragraphs.Count