duncansancho
Technical User
Hi All,
I hope someone out there can help! I am trying to use a worksheet function (VLookup in this case), in a form code.
I get an error 1004 and it shows my named range (Restrictions) as being "empty"!
What am I doing wrong please?
txtName = Application.WorksheetFunction.VLookup(txtNumber, Restrictions, 2)
Duncan
I hope someone out there can help! I am trying to use a worksheet function (VLookup in this case), in a form code.
I get an error 1004 and it shows my named range (Restrictions) as being "empty"!
What am I doing wrong please?
txtName = Application.WorksheetFunction.VLookup(txtNumber, Restrictions, 2)
Duncan