Thread
: [Solved]
Batch applying a macro to remove Header and Footer using Batch Auto Addin
View Single Post
05-27-2019, 07:59 PM
gmayor
Windows 10
Office 2016
Expert
Join Date: Aug 2014
Posts: 4,101
Change
Code:
For Each oSection In ActiveDocument.Sections
to
Code:
For Each oSection In oDoc.Sections
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes
www.gmayor.com
gmayor
View Public Profile
Find all posts by gmayor