+ Reply to Thread
Results 1 to 7 of 7

disable copy/cut/paste/paste special in excel 2010

  1. #1
    Registered User
    Join Date
    08-08-2014
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    31

    disable copy/cut/paste/paste special in excel 2010

    Hello all,

    i know this problem has been posted before, but I didn't find a solution for excel 2010 or 2013.

    I have a worksheet in which i want the user to be able to insert/write information only, i want him to be unable to cut/copy/paste/paste special, in order to protect my formulas in the other sheets

    I found a code here http://www.vbaexpress.com/kb/getarticle.php?kb_id=373 , but it seems to work only for shortcut keys, it doesn't disable the buttons on the excel clipboard menu.

    Macros are enabled

    can u please help me with a solution?

    Thank you in advance.

  2. #2
    Registered User
    Join Date
    09-27-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: disable copy/cut/paste/paste special in excel 2010

    Hi Alina,

    Put the below code in the respective sheet event - in which you have to disable the user to copy or paste.

    Please Login or Register  to view this content.
    Regards,
    lokicl

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  3. #3
    Registered User
    Join Date
    08-08-2014
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    31

    Re: disable copy/cut/paste/paste special in excel 2010

    i tried it but it doesn't work, the buttons cut/copy/paste in the clipboard are still functional.

    and if i copy something from another file also paste special is functional, and it shouldn't be.

    I forgot to mention i am using excel 2010.

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: disable copy/cut/paste/paste special in excel 2010

    Hello Alina Lorendana,

    Please see if the sample Workbook in the thread below, does what you want.

    http://www.excelforum.com/excel-gene...-new-post.html

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Registered User
    Join Date
    09-27-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: disable copy/cut/paste/paste special in excel 2010

    Hi Alina,

    Then paste the below code in the ThisWorkbook event

    Please Login or Register  to view this content.
    It doesn't allow the user to copy paste until the workbook is closed.

    Regards,
    lokicl

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  6. #6
    Registered User
    Join Date
    08-08-2014
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    31

    Re: disable copy/cut/paste/paste special in excel 2010

    Quote Originally Posted by Winon View Post
    Hello Alina Lorendana,

    Please see if the sample Workbook in the thread below, does what you want.

    http://www.excelforum.com/excel-gene...-new-post.html

    Regards.
    Thank you so much. It works!!

    One problem, though: it does what it's suposed to do, but it seems to lack a certain code to disable this after i close the workbook, because when i open another random excel on my pc the cut/copy/paste options from right click are disabled.

    can u figure out what i'm not doing right?

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: disable copy/cut/paste/paste special in excel 2010

    Hello Alina Lorendana,

    ...after i close the workbook, because when i open another random excel on my pc the cut/copy/paste options from right click are disabled.
    I find that very strange and surprising, because it should not happen. Are you running this Workbook on a "normal" PC with Windows Office, or something else, like Apple Mac, for instance?

    It runs fine on my PC with Widows Office 2007 and 2010.

    Please try the attached Workbook again, and if you still have a problem, then please send me a copy of your Workbook you are trying it on.

    Regards

+ 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. [SOLVED] Problem with worksheet Move/Copy function and Paste Special/Columns widths in Excel 2010
    By SPRoyLLC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2016, 05:41 AM
  2. Trap Catch Differentiate Disable Paste Button from Paste Special Options
    By m3atball in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2013, 07:28 PM
  3. Copy and Paste Special in filter mode excel 2010?
    By tantcu in forum Excel General
    Replies: 6
    Last Post: 01-23-2013, 05:52 AM
  4. Replies: 1
    Last Post: 12-05-2012, 11:37 AM
  5. How to disable Paste Special->Keep Source Formatting - Excel 2010
    By tromba in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-11-2012, 03:47 AM

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