Trying to reference a cell using vlookup in vba, this way I can offset from the cell and paste data from a userform text box.
Heres what I thought may work, but it didnt. Thoughts?
Dim acell As RangeSet acell = Application.VLookup(Val(TextBox1.Text), Sheets("thesheet").Range("a1:d42"), 1...