A
Angyl
I use Word 2003 in the office and my boss (oddly enough) is stuck with 2000
I've created several custom forms for him to use and usually they're locked,
but on occasion he needs to unlock them to make minor adjustments.
Problem is, when he RE locks a form with the standard toolbar button,
everything he's entered in the fields goes away.
My solution will be to make him a new button/macro that will use the code:
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
What I don't know how to do is make it a TOGGLE code like the default button
so that when you press it it either locks, or unlocks depending on whether
the document is currently locked or unlocked.
I could, of course just make him TWO buttons, one to lock and one to unlock,
but that isn't very sophisticated, is it?
Thanks for your help!
I've created several custom forms for him to use and usually they're locked,
but on occasion he needs to unlock them to make minor adjustments.
Problem is, when he RE locks a form with the standard toolbar button,
everything he's entered in the fields goes away.
My solution will be to make him a new button/macro that will use the code:
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
What I don't know how to do is make it a TOGGLE code like the default button
so that when you press it it either locks, or unlocks depending on whether
the document is currently locked or unlocked.
I could, of course just make him TWO buttons, one to lock and one to unlock,
but that isn't very sophisticated, is it?
Thanks for your help!