Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Vlookup result in a message box
I have code that returns a variable "l" to cell H17. (lowercase L)
Range("H17").Value = l That value is used to return a vlookup value to a cell with the following formula. =IF(ISERROR(VLOOKUP(H17,L2:Q75,J2,0)),"Game ?",VLOOKUP(H17,L2:Q75,J2,0)) I want that vlookup returned value to show in a message box. This does not compile along with a few other tries. MsgBox application.WorksheetFunction =IF(ISERROR(VLOOKUP(H17,L2:Q75,J2,0)),""Game ?"",VLOOKUP(H17,L2:Q75,J2,0)) Thanks. Howard |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
change from message box to result in cell | Excel Programming | |||
vlookup shows result one cell above the expected result | Excel Worksheet Functions | |||
Countif result in message box | Excel Programming | |||
vlookup based on random result returns incorrect result | Excel Worksheet Functions |