+ Reply to Thread
Results 1 to 3 of 3

Always Match Destination Formatting Without Disabling Right Click Paste

  1. #1
    Registered User
    Join Date
    10-19-2023
    Location
    Carlbad,California
    MS-Off Ver
    365
    Posts
    4

    Always Match Destination Formatting Without Disabling Right Click Paste

    Hello Excel Forum,

    Essentially I have an excel workbook that receives data input from multiple employees. However I want all pasting -- via shortcut or right click paste -- to always match destination formatting. The closest I have been able to figure out is to use this macro and assign it to Ctrl+v:

    Please Login or Register  to view this content.
    The caveat here is that colleagues can still mess up the formatting using right click and paste. Currently my only solution has been to disable right click pasting through Options > Advanced -- thus colleagues are forced to use ctrl+v only to paste.

    I would like to not disable the right click paste if possible. Is there a way to simply set a whole workbook to "Match Destination Formatting" regardless of the paste method?

  2. #2
    Forum Contributor
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    252

    Re: Always Match Destination Formatting Without Disabling Right Click Paste

    Create a Worksheet_Activate event, so when the tab is selected, you can apply a default format.

    Here's a quick example:
    Please Login or Register  to view this content.
    This way it doesn't matter what formatting they use as it will be corrected by the macro every time the worksheet is activated.

  3. #3
    Registered User
    Join Date
    10-19-2023
    Location
    Carlbad,California
    MS-Off Ver
    365
    Posts
    4

    Re: Always Match Destination Formatting Without Disabling Right Click Paste

    Thank you PrizeGotti, that is just what I need. Since I have all the sheets password protected with allowed edit ranges, applying your method to those ranges keeps everything neat and tidy. Awesome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disabling RIGHT-CLICK Paste on specific range
    By rob1963manwork in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2022, 01:25 PM
  2. Copy Email Body to Excel paste value (Match Destination Formatting)
    By korekurd in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-20-2020, 05:52 PM
  3. Cgange default paste to match destination formatting
    By Gareth1000 in forum Excel General
    Replies: 1
    Last Post: 12-01-2016, 11:28 AM
  4. paste data, keep destination formatting
    By excel_try in forum Excel General
    Replies: 9
    Last Post: 07-17-2009, 06:44 AM
  5. Paste to take destination formatting
    By jman0707 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2008, 12:21 PM
  6. Paste to take destination formatting
    By jman0707 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2008, 09:38 AM
  7. Replies: 1
    Last Post: 06-20-2006, 02:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1