Displaying rows having one cell font color to different sheet.

jlokesh16

New Member
Joined
Jan 22, 2015
Messages
39
Hello,

I have 4 columns in sheet 1, in which the first column has cells whose font color is red.
I want to copy only those rows whose first column cell data has red font color to sheet 2.
 
Below line is giving error.

".AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=rCrit, Unique:=False"

No i have not modified any code, testing on the same data you tested.

Using Office 2016 with windows 10 OS.
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Below line is giving error.

".AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=rCrit, Unique:=False"

No i have not modified any code, testing on the same data you tested.

Using Office 2016 with windows 10 OS.
Code, data, Excel & OS all sound exactly the same as mine which is working perfectly for that sample data so I'm at a loss as to what the issue is.
Is it possible for you to upload the file to a file-share site (eg DropBox) & provide a share link to the file so I can investigate?
 
Upvote 0
:huh: :confused:

1. That file has no data in Sheet1

2. That file has the code from post 14, not the most recent code from post 18 and therefore does not even contain the line of code that you are reporting in post 21.

3. That file does not contain the (blank) destination sheets "Red', 'Green' & 'Blue'. Right from post 2 I stated that I assumed the destination sheet exited and had nothing in it/them.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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