Copy Conditional Formatting To Other Sheet

bigfoot

Active Member
Joined
May 1, 2002
Messages
321
hi folks
i have a table that i filter on column A, and then copy the visible cells, through column CR, to another sheet, in the same workbook. im trying to copy filtered cells, in the state that they are in, based on the conditional formatting, to another sheet. the formatting of the pasted cells are not the same as the copied cells. what am i doing wrong? is there a remedy for this? i appreciate any help offered.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
thanks, but that apply to excel 2003. i tried copying the data, manually, and i didnt see the box appear. plus, can that be worked into vba code, as part of the copy process?
 
Upvote 0
what version of excel are you using?

my default copy/paste keeps the conditional formatting.

I recorded this macro of me copying column A of sheet 1,

to column B of sheet 3 (pasted values and source formatting)

Code:
Sub Macro3()
'
' Macro3 Macro
' Macro recorded 7/20/2011 by
'

'
    Columns("A:A").Select
    Selection.Copy
    Sheets("Sheet3").Select
    Columns("B:B").Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
    Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
        SkipBlanks:=False, Transpose:=False
End Sub
 
Upvote 0
i am using excel 2003. i should apologize for the confusion i caused. what i am trying to copy is the result of the conditional format, not the conditional format itself. since the formatting references a cell that is not available on the "receiving" sheet, it reverts to condition 1. what i want is the exact formatting on the original sheet,without the conditions being copied, ad the formatting not changing at all. thank you.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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