I am trying to get a Combobox to be the lookup value. Have looked on many sites and cannot get to work, code is below
tradeid = cmbtrade.Value
dateopen = txtdateopen.Value
dateopen = Application.WorksheetFunction.VLookup(tradeid, Sheets("Open_Positions").Range("A3:L49"), 2, False)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.