N
Nigel
I have some code (snippet below) that seek to lookup a value (iuser) from a
Range (USERS), the function works fine until it encounters the #N/A return
value caused by iuser not being in the USERS array. How do I handle this
correctly?
What I am seeking to do is put the invalid iuser value into a worksheet
cell.
'<code snippet>
ibarea = Application.WorksheetFunction.VLookup(iuser, Range("USERS"), 2, 0)
Range (USERS), the function works fine until it encounters the #N/A return
value caused by iuser not being in the USERS array. How do I handle this
correctly?
What I am seeking to do is put the invalid iuser value into a worksheet
cell.
'<code snippet>
ibarea = Application.WorksheetFunction.VLookup(iuser, Range("USERS"), 2, 0)