Select All Sheets

Pestomania

Active Member
Joined
May 30, 2018
Messages
332
Office Version
  1. 365
Platform
  1. Windows
Hi, I am trying to select all sheets with the name assembly. What happens is it selects all sheets with the name Assembly, assembly (2), assembly (3), etc. Then it adds a color to range T13:U21 based on the value in another sheet. But Everytime I try a different code, it only applies to the last "assembly" sheet in the workbook. Can someone please help?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Best/More Helpful to us if you post your Existing Code also
 
Last edited:
Upvote 0
Best/More Helpful to us if you post your Existing Code also

Hi, well I finally realized I was having it format after it ran the sheet selection script. Once I realized that I called for the macro that formatted inside of the selection script which allowed it to go sheet by sheet and format each one. Now it works amazingly. Sorry for any confusion.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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