![]() |
|
#1
|
|||
|
|||
![]()
The code works perfectly until it hits runtime error 5138
Hitting debug then points me to Code:
.PageSetup.DifferentFirstPageHeaderFooter = True Thank you. Edit: I found the problem there are some weird documents with impossible margins, and I found a way to mass rename and remove the special chars from the filenames, the code is working as intended, thank you for your help! |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updating Headers & Footers from Database | Yuvahari | Word VBA | 5 | 01-31-2022 10:12 PM |
Batch Replacing Headers using Macros | JakeG9 | Word VBA | 0 | 07-13-2021 10:54 AM |
![]() |
troyw | Word VBA | 8 | 05-05-2021 07:17 PM |
![]() |
Edszx | Word VBA | 2 | 05-27-2019 11:16 PM |
Updating headers in multiple files | cellophane | Word | 3 | 01-17-2013 06:36 AM |