Microsoft
Software
Hardware
Network
Question : Error in userform
Hi,
The following code worked fine until I made some changes in another module and now i get an error on "If Me.Rack = 1 Then". "Invalid use of Me keyword."
Me.Rack is a combobox on a userform.
Dim wsn As Worksheet
Dim rangeT As Range
Set wsn = ThisWorkbook.Worksheets("c
ontainer")
If code = 20 Then
If Me.Rack = 1 Then
Set rangeT = wsn.Range("A5")
End If
Tx
Answer : Error in userform
Then you can't use the "Me" keyword. Replace "Me" with the name of the userform.
Wayne
Random Solutions
DHTML moving Image question
RDLC and syntax help needed
Selecting distinct records?
Password protect specific sheets
Query AD for list of users created within 2 month.
door knob
Drop downs
Whats the js for "Month view" in Calendar?
Difference of inheriting a web page and a master page?
Question about hyperv clone?