Code to move specific worksheets to the end of the file

atf32

Board Regular
Joined
Apr 13, 2011
Messages
157
I need code that I can use to generically make a specific tab move to be the last tab in the file. So after I scroll through the names of the tabs in a file and find any that meet the name(s) criteria that I am looking for, I need code that to then move that tab to be the last one in the file(regardless of the name of the last tab already at the end).:confused:
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
So after I scroll through the names of the tabs in a file and find any that meet the name(s) criteria that I am looking for

Do you want to move the active tab to the end of all tabs? If not, can you better describe what you mean by the "Names" criteria? Do you want the macro to do the criteria or is that something you do manually?

Also if you didn't know this, you can click-grab-drag a tab to the end or any position you like.
 
Upvote 0

Forum statistics

Threads
1,216,076
Messages
6,128,670
Members
449,463
Latest member
Jojomen56

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