Force "Match Destination Formatting" for a particular column/worksheet

mrlex

New Member
Joined
Sep 4, 2013
Messages
10
Hi all,

I am trying to create a tool for myself and others to use
As part of this I have set up various conditional formatting rules which will highlight certain bits of information to users etc.

I want the tool to be as easy to use (and as hard to break) as possible but I am having some trouble. People will need to enter info into the tool daily and often people will copy and paste from an external source (eg. emails/online etc).

The issue is that often the paste function will copy external formatting into my tool that messes up the conditional formatting rules I created. This is easy to avoid if you simply right click “Match destination formatting” but I would much rather the tool do this by default.

Obviously I could just train people to do this but inevitably this will be forgotten and it is causing issues which people don’t know how to fix.

Does anyone know of a way to force excel to “Match destination formatting” for a certain column?

Thanks in advance
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Should point out that I am open to any work around also (including something VBA based if necessary).

I believe you can set Excel to default to a certain paste style but I believe this is in Excels settings and so would likely not translate if a new machine opened my worksheet.

Thanks again!
 
Upvote 0
I figured this one out on my own in the end:

You need to set up a new macro and assign the keyboard shortcut Ctrl-V
Record yourself special pasting a value using Match Destination Formatting.
Then stop recording.

That way the Ctrl-V paste function is replaced with the Match Destination Formatting paste function.

Might have guessed it would be a simply solution

Hope this helps someone
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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