+ Reply to Thread
Results 1 to 6 of 6

Cut Copy Paste Disabled

  1. #1
    Registered User
    Join Date
    11-14-2014
    Location
    Belfast
    MS-Off Ver
    2010
    Posts
    8

    Cut Copy Paste Disabled

    Hi ...

    I am using Excel 2013.

    I wanted to stop shared file users cutting, copying, pasting data on a worksheet as this often interfered with formulas and calculations.

    I found the VB code that was supposed to offer the solution and pasted into a new 'Module!' and then rest of the code into 'ThisWorkbook'.

    It partially did the trick. Cut, Copy and Paste was now removed from the Right-click sub menu... but I was still able to use the 'ctrl' keys and the functions were still available on the Ribbon.

    Not satisfied with this part solution I deleted the new VB module and the code thinking this would restore the original functionality of the Excel Workbook.

    It hasn't, and now on all Excel workbooks I open... it seems that Cut, Copy, Paste is disabled from the "Right-Click" Sub Menu!

    Can anybody advise me on how to restore this? Please! - Confession = I am a VB Novice.

    RSVP
    Sp00gles

    CutCopyPasteDisable VB Code for Module.txtCutCopyPasteDisable VB Code for ThisWorkbook.txt

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Cut Copy Paste Disabled

    Does this help?

    http://www.vbaexpress.com/kb/getarticle.php?kb_id=373

  3. #3
    Registered User
    Join Date
    11-14-2014
    Location
    Belfast
    MS-Off Ver
    2010
    Posts
    8
    Quote Originally Posted by JOHN H. DAVIS View Post
    Hi John,

    Thank you for the reply... But, this is the same code I used in the 1st place!
    It's not fully effective in Excel 2013.

    I decided to look at my problem a different way and then deleted the macro code... But herein now lies the problem as even though I did this, the Cut, Copy, Paste fcn is still partially disabled.

    Restoring Excel to previous state is now the issue I am facing?!?!

    Thanks.
    Sp00gles

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Cut Copy Paste Disabled

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cut Copy Paste Disabled

    Sometimes the simplest of tasks can be attempted in an extremely over-complicated manner.

    Try this in the workbook module to effectively stop people using cut / copy / paste.

    They can still initialise the cut / copy procedure, but as soon as they select a different cell to paste, the clipboard will be emptied, effectively cancelling the operation.

    Please Login or Register  to view this content.
    Users might be able to circumvent this by pre-selecting the destination cell, then copying from outside of the workbook, but using the same line with worksheet activate / deactivate should prevent that.

  6. #6
    Registered User
    Join Date
    11-14-2014
    Location
    Belfast
    MS-Off Ver
    2010
    Posts
    8

    Re: Cut Copy Paste Disabled

    Hi Jason, Yasser...

    thank you both for reply... before I got to either of them I had found a solution that cured my immediate problem.
    As you both were kind enough to help me I thought to share it with you (attached)


    Cheers Guys,
    Sp00gles
    Attached Files Attached Files

+ 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. How do I copy data from one file to another using VBA when copy/cut/paste disabled
    By osbornedj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2015, 04:24 PM
  2. VBA code has disabled my paste option
    By slatten in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2012, 07:54 PM
  3. Replies: 4
    Last Post: 09-04-2012, 09:23 AM
  4. [SOLVED] Disabled Insert, Cut, Paste and others from Right click menu
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2012, 11:37 AM
  5. Replies: 0
    Last Post: 03-09-2009, 05:16 AM
  6. Paste disabled
    By lushl0sn in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-11-2007, 11:02 AM
  7. Paste disabled
    By Emma in forum Excel General
    Replies: 1
    Last Post: 05-19-2006, 01:45 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