ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Error Handling - Infinite loop (https://www.excelbanter.com/excel-programming/369249-error-handling-infinite-loop.html)

coder_arun[_6_]

Error Handling - Infinite loop
 

Hi,

My "Excel 4 Macro" Error handler goes into a infinite loop, i'm no
sure why:

My macro code is:

Under Auto Open I define the error handler as below:

AUTO_OPEN
=ERROR(2;RECOVER)


The Error Handler:

RECOVER
=GOTO(ABSREF(\"R[1]C[0]\";LAST.ERROR()))
=RETURN(


Any help on why dose this error handler go into a infinite loop?????

Many Thanks in Advance.
Aru

--
coder_aru
-----------------------------------------------------------------------
coder_arun's Profile: http://www.excelforum.com/member.php...fo&userid=3381
View this thread: http://www.excelforum.com/showthread.php?threadid=56786



All times are GMT +1. The time now is 08:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com