I acquired this macro - I think I got it on this website, I can't really remember - anyway, it works at the task of changing the text in a header on multiple documents...for the most part. It's pretty hit or miss. I'd run it and it worked for about 10 of the 36 documents in a folder, so I tried it again and it worked on couple more, but then left a bunch unchanged. I basically started moving them to another folder one at a time and retrying the macro and it got to a point where it would seem to run but not change anything. In the end 6 documents would inexplicably not work with the macro even though I have run this macro on these 36 documents a week or two ago and it worked with no issues.
I don't really understand much of the code, I was hoping this would be more black and white, but the infrequency of the macro working tells me there is something of a gray area - can someone take a look at this and tell me if you can see where the issue is? Is it possible that my computer ran out of memory when executing the macro? The work laptops they give us have nothing special as far as CPUs go or what they put under the hood.
This is the Macro:
Please Login or Register to view this content.
Bookmarks