Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-21-2021, 07:22 AM
shistris03 shistris03 is offline Select between headings excluding section break Windows 10 Select between headings excluding section break Office 2019
Novice
Select between headings excluding section break
 
Join Date: Jun 2021
Posts: 7
shistris03 is on a distinguished road
Default

Hello Sir,

I am basically using mail merge via input info from an excel file. I am using the IF function to display the info of the contents that are selected in the excel file (i.e. each content is a different page and is separated via section breaks).

Then I use a macro to export the mail merge to letters. The final form is the attached file.
OPTION 1
You have provided a macro to delete all headings so I am left with the final text to print. What I am trying to achieve (best case scenario) is to have a code to delete the pages that contain only ¶ and section breaks (i.e. pages that do not contain any text).

OPTION 2
Go to each page, select between headings and print the required page.

Option 1 would be ideal but I have seen that it is not easy to achieve. Please advise.

Thank you for your time.
Attached Files
File Type: docx FINALISING AUDIT CHECKLIST DOCUMENT.docx (21.9 KB, 7 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Select between headings excluding section break Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Swarup Word 10 02-15-2021 06:46 PM
Select between headings excluding section break Word 2007, cannot insert Section Break (Continuous), only Section Break (Next Page) btse1 Word 3 11-01-2018 09:23 AM
Section Break (Continuous) counted as Section Break (Next page) wolfer Word VBA 2 01-06-2018 09:51 AM
Select between headings excluding section break Word converts section break to page break before columns, does not insert column breaks eborda Word 1 03-24-2017 11:06 PM
Select between headings excluding section break Section Break (Next Page) replaces Section Break (Continuous) when deleted Carlabasson Word 2 03-25-2013 10:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:17 PM.


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