Next Sub

SUBAWRXSTi

New Member
Joined
Dec 27, 2004
Messages
20
Hello

I have a process within a sub that depending upon the contents of a system file, need to go to the next sub if an error occurs at a particular point. The sub which I need it to go to on error is labelled as T3_Part_1_Posted.

If this is not possible, I would like to hear other suggestions you may have.

Thanks
Scott
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
If it is in the same macro, then put in:
On Error Goto T3_Part_1_Posted
and change T3_Part_1_Posted to
T3_Part_1_Posted:

If it is a different macro, try:
If [put in your criteria here] then
T3_Part_1_Posted
exit sub
end if

If that doesn't do it, post your worksheet and/or macro using Colo's HTML Maker (see bottom of page).
 
Upvote 0

Forum statistics

Threads
1,214,891
Messages
6,122,101
Members
449,066
Latest member
Andyg666

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top