I have a userform with textboxes as well as other objects. I'm working off a textbook and it uses similar code in the chapter. When I'm trying it I'm getting the error message "Invalid use of ME keyword"
I also looked up online and tried copying and pasting their code and got the same error message![]()
Private Sub UserForm_Initialize() 'frmInputs.Show Dim ctl As Control For Each ctl In Me.Controls ' If TypeName(ctl) = "textbox" Then ' ctl.Value = "" ' End If Next End Sub
Bookmarks