Thread: [Solved] Macro to number sentences
View Single Post
 
Old 03-27-2017, 04:27 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Well, for paragraphs, you could simply replace '.Sentences' in the code in post #4 with '.Paragraphs', but that wouldn't make a lot of sense when Word already has auto-numbering for paragraphs. An alternative approach would be to use a macro-driven Find/Replace which, as I said, can be used for spaces, tabs, paragraph breaks, manual line breaks, manual page breaks. Section breaks, etc., but even that wouldn't be appropriate for paragraph numbering. That said, the Find/Replace code might be structured along the lines of the macro here: https://www.msofficeforums.com/word-...tml#post112574
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote