Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
On Error GoTo : How to use multiple?
I wan't to use multiple On Error GoTo commands, but If one error appear
the next error results in Run-time error 91. Do I have to rese something after each check (...and in case, what?)? Thanks, Erlend Dim test1, test2, test3 Sub checkk() test1 = False test2 = False test3 = False check1: On Error GoTo check2 Columns("B").Find(What:="length").Activate test1 = True check2: On Error GoTo check3 tab1start = Columns("A").Find(What:="md").Row test2 = True check3: On Error GoTo stopp tab2start = Columns("B").Find(What:="east").Row test3 = True stopp: If Not test3 Then MsgBox "Unknown format" Exit Sub End If End Su -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
On error from Find, GoTo E | Excel Discussion (Misc queries) | |||
On error goto problem | Excel Discussion (Misc queries) | |||
On Error GoTo Doesn't Work | Excel Discussion (Misc queries) | |||
On error goto 0? | Excel Programming | |||
On error goto 0 | Excel Programming |