lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I inserted UserForm and some other Form Controls such as textboxes/labels etc. I changed the name of each control for example TextBox1 to Mybox, Label1 to Mylabel etc. I also changed the name of the UserForm from UserForm1 to MyUserForm. Now, when I go to coding window, I see on the left hand side, the list of all Form Controls with the new names I name them, except UserForm, it still have the same name, which is UserForm. Why not the name I changed it to (MyUserName)
I inserted UserForm and some other Form Controls such as textboxes/labels etc. I changed the name of each control for example TextBox1 to Mybox, Label1 to Mylabel etc. I also changed the name of the UserForm from UserForm1 to MyUserForm. Now, when I go to coding window, I see on the left hand side, the list of all Form Controls with the new names I name them, except UserForm, it still have the same name, which is UserForm. Why not the name I changed it to (MyUserName)
Code:
Private Sub UserForm_Initialize()
End Sub