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)
tradeid = cmbtrade.Value
dateopen = txtdateopen.Value
dateopen = Application.WorksheetFunction.VLookup(tradeid, Sheets("Open_Positions").Range("A3:L49"), 2, False)