+ Reply to Thread
Results 1 to 2 of 2

Disable /Enable Cut Copy paste

  1. #1
    Registered User
    Join Date
    04-02-2009
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    19

    Disable /Enable Cut Copy paste

    Hi guys,

    Looking for some help and would appreciate your help. I want to prevent people cutting/copy/pasting on a spreadsheet I have developed. A couple of users keep doing so which in turn knackers my formulas. There will be occasions where I will need to be able to use these functions for maintenance and updates. Ideally I would like have a private marcro which I can run to enable these features as and when needed.

    I've been at this all morning and feel like I'm going round in circles. I've tried various bits of code (sourced via google etc) & have ended up with a whole manner of outcomes but not the one I want.

    To summaraise what I am looking for is some vba code which will do the following
    • Disable cut,copy and paste when sheet is opened
    • Enable cut,copy and paste when closed
    • Have a macro which when run will allow me to cut/copy paste so as to implement updates when necessary.

    Can anyone help?

    Thanks in advance

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,440

    Re: Disable /Enable Cut Copy paste

    Hi,

    There's some code over at VBAExpress:

    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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