I'd like to set a cell's value to "#N/A" if another cell is #N/A. I was hoping the following would work, but using the =isNA() funtion on the result cell yields a false.
Unfortunately there is no Application.Worksheetfunction.NA()
Here's what I was using:
Unfortunately there is no Application.Worksheetfunction.NA()
Here's what I was using:
Code:
If (Application.WorksheetFunction.IsNA(myName.Item(current_row - 2)) = True) Then
result_cell = "#N/A"