I want to check a #N/A value into excel with VBA. So after some research, I made this code :
#N/A
Set MyTab = Range(name) If (Not IsEmpty(MyTab.value
Another way to check for the error
If CVErr(MyTab(i, j).Value) = CVErr(xlErrNA)