+ Reply to Thread
Results 1 to 1 of 1

Trap Catch Differentiate Disable Paste Button from Paste Special Options

  1. #1
    Registered User
    Join Date
    08-24-2010
    Location
    California
    MS-Off Ver
    Excel 2007, 2010
    Posts
    45

    Question Trap Catch Differentiate Disable Paste Button from Paste Special Options

    I am looking for a solution that will caution the users from copying unwanted formats (Locked) into my protected workbook.

    The workbook is locked with a number critical, structure-providing cells locked on each worksheet with all other cells unlocked. When people use this file to do work, they routinely need to copy information from other Excel files. If they are lazy or don't remember, they do a standard Paste, the copied/target cells will be locked and I have to manually lock these for the users.

    Many samples codes found online offer enforced Paste Special by Values or Formulas. I do not want to do that. The reason being, my users need to be able to drag & drop, double-click copy, right click copy/paste, and do normal copy/paste (formats & all) among unlocked cells within this workbook. It will be too restricting to enforce a Paste Special - Values for all pasting actions. Instead, I'd like to give them a warning when such Paste action is detected.

    Currently my code will trap a Ctrl+V and responds with warning and a Paste Special Values only. I'm not able to stop people from clicking the Regular Paste Button on the Ribbon and the Right-Click menu (red part of the attached screenshots). Is there a way to detect whether people click the standard Paste Button or the little arrow for Paste Special options? I'd like to disable the standard Paste parts (red parts), or at a minimum give users a warning when they click the Red part, and only enable the blue parts; or in the case of red warning, directing users to use the blue parts.

    Is it possible?

    My code is here. Thank you for reading!


    Please Login or Register  to view this content.

+ 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. Paste Special options?
    By AKM1 in forum Excel General
    Replies: 4
    Last Post: 02-01-2013, 01:46 AM
  2. Need to block Paste Button not Paste Special Option
    By way2suresh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-26-2012, 07:55 AM
  3. Replies: 1
    Last Post: 12-05-2012, 11:37 AM
  4. Paste Special options in VBA
    By bernhardlip in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2012, 10:20 AM
  5. [SOLVED] how can I paste text using paste special, without clicking paste button?
    By Exxcel Noob in forum Excel General
    Replies: 6
    Last Post: 05-14-2012, 08:21 PM

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