Hello,
I'm not that good with Word VBA (Excel is more my thing).
I was given the mission to update some templates by adding new offices to the form(s) which had a mass of spaghetti code. I'm not giving them a complete overhaul because we are changing them soon.
However, I'm confused about the attached file... When you open it directly as a template it looks correct and works, however when you open as a new file from the template, my text box in the footer disappears and is replaced with another one (the old one I am replacing) that has a series of fields (if statements depending on if statements) in it.
I have deleted the offending text box loads of times but it still reappears!
I have tried putting STOP in at the beginning of the AutoNew code and stepping through from that point but even at that point if you go and look at the document the text box change has already occurred.
I'm so confused! Can anyone please have a look and see what might be going on?
Cheers,
Averil
I'm not that good with Word VBA (Excel is more my thing).
I was given the mission to update some templates by adding new offices to the form(s) which had a mass of spaghetti code. I'm not giving them a complete overhaul because we are changing them soon.
However, I'm confused about the attached file... When you open it directly as a template it looks correct and works, however when you open as a new file from the template, my text box in the footer disappears and is replaced with another one (the old one I am replacing) that has a series of fields (if statements depending on if statements) in it.
I have deleted the offending text box loads of times but it still reappears!
I have tried putting STOP in at the beginning of the AutoNew code and stepping through from that point but even at that point if you go and look at the document the text box change has already occurred.
I'm so confused! Can anyone please have a look and see what might be going on?
Cheers,
Averil