Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 01-15-2022, 09:39 AM
Shelley Lou Shelley Lou is offline VBA Help Indent Paragraphs between Headings Windows 10 VBA Help Indent Paragraphs between Headings Office 2016
Expert
VBA Help Indent Paragraphs between Headings
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default VBA Help Indent Paragraphs between Headings

Hi Graham, thank you so much for the updated code, it really is appreciated and has worked very well. I have now added this to my manual to auto numbering macro and have just realised a couple of things I hadn't taken into consideration with the indents now the full code has run.

Once the auto numbering has inserted, if there is only one numbered paragraph e.g. 1, 1.1, 2, how can I tell the code to remove the auto number 1.1 and replace (in this example) with Body 1.

If there are 2 or more previous numbered paragraphs e.g. 2.1, 2.2 and the following paragraph is not numbered, how can I tell the code that the non-numbered paragraph (in this example) should be Body 1 as these types of indents should sit directly under the previous number.

I have attached a Word document to show the indents.

TEST DOC FOR BODY LEVELS.docx

Body Level.PNG
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Help Indent Paragraphs between Headings Selectively numbered paragraphs based on headings.. WildfireS3 Word 2 05-18-2020 05:18 AM
Indent on headings nerion Word 5 04-11-2019 04:48 AM
Difference between first line Indent and Left Indent kingston123 Word 3 09-25-2018 02:47 PM
Indent of first numbered heading different from subsequent headings ultimateguy Word 1 08-12-2015 06:51 AM
VBA Help Indent Paragraphs between Headings Problem with bold numbers in multi-level list styles when having numbered headings AND paragraphs bwofficer Word 2 12-12-2014 12:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft