View Single Post
 
Old 04-28-2019, 09:42 PM
Dave T Dave T is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: Nov 2014
Location: Australia
Posts: 66
Dave T is on a distinguished road
Default Delete blank paragraph below bold, end square bracket

Hello All,

I am using a macro to format a system generated report.

I have reused a previous macro to find a paragraph that is bold and ends with a square bracket. The macro finds the square bracket and applies ‘Paragraph Keep With Next’ and applies ‘Space After’ to the paragraph.
The next paragraph after the end square bracket has a blank paragraph inserted.

How can I add a condition to the macro that moves to the next paragraph down and if the paragraph is blank it is deleted ???

Unfortunately I have to live with many other blank paragraphs, so do not want them all deleted.

Regards,
Dave T
Attached Files
File Type: docm Delete specific blank paragraph.docm (20.2 KB, 9 views)
Reply With Quote