View Single Post
 
Old 01-30-2022, 06:14 AM
kenny84 kenny84 is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2022
Posts: 6
kenny84 is on a distinguished road
Default

Hi Gmayor, Thanks for the replied and code provided.
The code provided able to solve only 1 file as I tried up.
Maybe due to my explanation not good enough, refer to below for more clear explanation.

What I would like to do or purpose for the macro:
Step 1. Removed all the headers and footers information for files that saved under a folder (This folder content files that more than 1k's files). -->I able to do so by used the code provided in this forum.
Step 2. Would like to put section 1 at the top of page 3 for all the files saved under this folder. ( Section 1 title vary from files to files). For this case, how can I inserting a page break for the paragraph?
Step 3. Update fields for Table of contents.

Attached with the code for removed the header and footers information for all files that saved in a folder.

File--> Example 1 and Example 2 as example of my document for your reference. Due to vary of files to files for the Section 1 title, thus i only able to share this 2 files.

Appreciate your help and thank you so much!
Attached Files
File Type: docx Example 1.docx (41.9 KB, 10 views)
File Type: docx Example 2.docx (40.3 KB, 9 views)
File Type: docm Code Example.docm (27.0 KB, 10 views)
Reply With Quote