Hi,
I have an issue with a form button box which in some case end up being deleted from the word document depending on the updates made to the document though the macro.
Initially I though of protecting the form in the macro before executing the rest of the code and unprotect it again. However, I have not been able to find such code.
Alternatively I though of coping the form and pasting same after execution of the marco. This seem to work if you know the name of the form.
Say, I rename my "Control 63" to "UpdateButton" then next time I open the word file the ActiveDocument.Shapes("UpdateButton") cannot be found. My shape has been renamed to "Control 64".
Any suggestions? Protections of form, or dynamically identifying name of form or others?
I might be an idiot at programming but this one I have not been able to google the answer.
Thanks in advance
Alex