Thread: Me?
View Single Post
  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Me refers to the thing/object that holds the code.

In this case, it refers to that Userform.

You may see it in a worksheet module, too. In that case, it refers to the
worksheet that owns the code.

Same thing in ThisWorkbook--it refers to the workbook owning the code.

nc wrote:

Hi

At http://www.contextures.com/xlUserForm01.html
they use

ws.Cells(iRow, 1).Value = Me.txtPart.Value

what is the Me for?

Thanks.


--

Dave Peterson