![]() |
#2
|
|||
|
|||
![]()
I think this may be happening because you have jumped out of the loop - you cannot simply jump back in again.
So you need to trap and handle the error whilst remaining inside the loop - for instance using the iserror function. I am always wary of creating infinite loops when playing with the loop counter, so watch out for that ! PS Is there meant to be a space in ElseIF Selection . . . ? Last edited by MartinGM; 12-18-2023 at 01:05 PM. |
Tags |
error handler |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
LSLSLS | Word VBA | 2 | 01-07-2022 05:46 AM |
Error Handler If User Does Not Want to Overwrite File | ChrisOK | Excel Programming | 4 | 04-03-2020 08:31 PM |
![]() |
saurabhlotankar | Excel Programming | 10 | 06-03-2015 05:50 PM |
![]() |
tinfanide | Excel Programming | 2 | 10-19-2014 09:46 AM |
'Infinite Loop' error with Infopath 2010 | Debbie25 | Misc | 2 | 05-18-2011 08:38 AM |