I've got a simple VBA code for a userform.
Textbox 1 is a list box that allows users to pick from a list (Sheet 1, row A, which are numbers automatically entered by another userform). I'm using vlookup to populate other text boxes on the form (this is in the change property for textbox 1):
The problem is that I get a runtime error 1004 "unable to get the Vlookup property of the worksheetfunction class".Please Login or Register to view this content.
However, if I change the values in A (for example, instead of 4 I typed A4), then it will see it and populate other text boxes accordingly. I've tried typing in "4" in the cell in the same manner but I still get the runtime error. I've tried changing the formatting of cells in row A but that doesn't work either.
Can someone please save me from a nervous breakdown?!
Bookmarks