I've renamed my textbox with the code

Private Sub TextBox9_Change()
Textbox9.Text=Me.txtUsernameIn
End Sub
Can i not change the name of it like that ?

I've also blocked the change event

Public mychg As string
Sub Mysub()
mychg="off"
End Sub
Stopping the change event has not caused any problems with other textboxes.


The 2 input boxes for username and password are textbox9_Change() and textbox10_Change()