Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() i want to write an error statement but it's not working for me. The code below works when the cell value equals #n/a BUT it screws up my macro when the the cell value doesn't equal #n/a. I'm getting an error 13... I tried to use an error 13 statement but no such luck either. Here's my code below. Code: -------------------- If Range("ssn") = CVErr(xlErrNA) Then MsgBox ("NAME NOT FOUND!!!!") Exit Sub End If -------------------- -- vbidiot ------------------------------------------------------------------------ vbidiot's Profile: http://www.excelforum.com/member.php...o&userid=31582 View this thread: http://www.excelforum.com/showthread...hreadid=515319 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code error | Excel Discussion (Misc queries) | |||
Error in Code | Excel Programming | |||
Code error ?? | Excel Discussion (Misc queries) | |||
How can I still go to the error-code after a On Error Goto? | Excel Programming | |||
Code Error - Run Time Error 5 (Disable Cut, Copy & Paste) | Excel Programming |