Copy Conditional Formatting only

Eskercat

New Member
Joined
Jun 17, 2022
Messages
2
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2010
Platform
  1. Windows
Morning,
I have a sheet with conditional formatting set to show duplicates within a column range. Each column should have no duplicates, but duplicates across rows is expected. I am also using colours to denote different groupings within the data (belonging to different departments).
My conditional formatting is working fine, however, I am looking for a quick way of copying this between ranges (down different columns), without disrupting the formatting within the rest of the cells (e.g. the background colour or the font colour). I can't use the format copier, or paste special as this is going to change these. I am aware I can put the conditional format into one of the cells and change the range each time, but that will mean completing that approximately 300 times. Any ideas?
Thank you!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Welcome to the Board!

Your best bet may be to true to use VBA, where you can select the range you want to apply the Conditional Formatting rule to, and have VBA create it.

If you do not know how to do that, we can help you, if you provide more details, such as:
1. What is the exact Conditional Formatting rule?
2. How do you want the user to communicate which range to apply it to (it could be applied to whatever range they have selected prior to running, or we could have a prompt asking them to enter the range to apply it to)?
 
Upvote 0
Thank you for the welcome, and the response. I did think that might be the answer. I will crack on with it. Much appreciated.
 
Upvote 0
You are welcome.

Feel free to post back if you run into any issues trying to implement the solution.
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

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