Tendresse
2007-09-17 02:50:02 UTC
Hi all,
I would like to add a line to my VBA code to disable a command button called
"Delete Person". I'm not sure how to refer to the button though. The
following attempt didn't work:
ActiveDocument.Range.CommandButton("Delete Person").Enabled = False
I'm using Word 2003.
Many thanks
Tendresse
I would like to add a line to my VBA code to disable a command button called
"Delete Person". I'm not sure how to refer to the button though. The
following attempt didn't work:
ActiveDocument.Range.CommandButton("Delete Person").Enabled = False
I'm using Word 2003.
Many thanks
Tendresse