L
L. Howard
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
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