Copying cell contain with specific background-color from different sheets

TheLSD

New Member
Joined
Jan 12, 2022
Messages
33
Office Version
  1. 2010
Platform
  1. Windows
Hi guys! Is there any code that allows me to copy certain cells with a specific color (light grey in my case with 2 as a color index in VBA)? So there are several sheets with the same format and the master sheet with different formats. What I need is to copy certain cells in same column for the entire worksheet inside the workbook with the same background color and paste it on the master sheet. For example, in sheet 1 B6 said Type 1 then B17 type so on, for sheet 2 B6 said Apple1 then B10 Apple2 so on, what I want is to copy the type and the apple to become one straight list, type 1, type 2, apple1, apple2 in the same column but continuously row. Any help would be appreciated, thanks a lot!!
NB: I use Excel 2010 for now
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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