Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
if error encountered in for next loop
How do I program if an error gets encountered during running commands within
a for next loop, to not stop the macro but continue processing the commands until the loop ends? how do I program to tell me what the error exactly was while the loop was processing so I know what it was to fix it? thank very much for any assistance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
if error encountered in for next loop
Craig,
Error handling in VB isn't a one-line answer, there are many options. Have a look at Chip pearson'e site. http://www.cpearson.com/excel/ErrorHandling.htm Mike "Craig" wrote: How do I program if an error gets encountered during running commands within a for next loop, to not stop the macro but continue processing the commands until the loop ends? how do I program to tell me what the error exactly was while the loop was processing so I know what it was to fix it? thank very much for any assistance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel encountered an error | Excel Discussion (Misc queries) | |||
error: Excel encountered an error and had to remove some formatting to avoid corrupting the workbook; please recheck your formatting carefully | Excel Programming | |||
Error: "Excel encountered an error and had to remove some formatti | Excel Discussion (Misc queries) | |||
Has anyone ever encountered an error AFTER the macro has completed | Excel Programming | |||
Extracting data from Access - error encountered | Excel Programming |