View Single Post
 
Old 05-19-2020, 07:41 AM
MrBill51 MrBill51 is offline Windows 10 Office 2010
Novice
 
Join Date: May 2020
Posts: 2
MrBill51 is on a distinguished road
Default Unindent Initial Chapter and Section Paragraphs in Novel

I am formatting a novel for publication. The standard format for a novel is for the first paragraph of each chapter and section to be unindented. All other paragraphs are indented. My novel-writing software can't distinguish a first paragraph from any other, so all my paragraphs are indented.



For the chapter breaks, I need a Word VBA macro that will find the word "CHAPTER" followed by a number, skip over the title below it ("Clement's Lament"), and unindent the first paragraph ("Until eight thirty..."), and then move to the next instance of "CHAPTER" followed by a number and do the same thing throughout the document. Example:



CHAPTER 1
Clement's Lament
Until eight thirty, when her unexpected visitor appeared...




Section breaks are designated by a pound sign. For the section breaks, the macro needs to find each instance where the symbol "#" is on its own line and unindent only the first paragraph below it and then do the same for each "#" throughout the document. Example:


#
"I was framed," thundered the leading Democratic contender for the presidency.




Thanks very much for your help.
Reply With Quote