Sub vlookup_VBA()
Dim fruit_name As String
fruit_name = "lemon"
fruit_color = Application.WorksheetFunction.VLookup(fruit_name, Sheet1.Range("A:B"), 2, False)
MsgBox "Fruit Color is : " & fruit_color
End Sub
VBA Outlook KPI Excel Alt+F11 Dashboards Macros Recording Graphs Automation Developer WaterFall Powerpoint Charts Pivot Tables Forecast Charts