PDA

View Full Version : Active X controls stop working


FWK
12-06-2004, 12:32 PM
Hello,

After I close and reopen my doc, the command buttons no longer works.


I am able to add a command button and attach some simple code to it. For test purposes lets say ...

*******************************
Private Sub CommandButton1_Click()
TextBox1.Text = "Hello"
End Sub

Private Sub CommandButton2_Click()
TextBox1.Text = "Good-Bye"
End Sub
*******************************

It works fine until I exit word and then re open the doc. At that point the doc opens in design mode ?? and when I exit design mode, the button depresses when clicked but does not perform the operation.

I'm sure I am missing something simple here.
I am using Word 2003

Please Help!

Thanks
Frank