+ Reply to Thread
Results 1 to 4 of 4

A way to prevent ctrl-c and ctrl-v within a cell?

  1. #1
    Registered User
    Join Date
    09-08-2017
    Location
    United States
    MS-Off Ver
    2013
    Posts
    2

    A way to prevent ctrl-c and ctrl-v within a cell?

    For legal reasons I need my employees to not copy/paste information on their reports. I have successfully used macros to prevent all copy or paste functions from working when cells are highlighted- yet I don't seem to find a way to prevent copy and paste when data is being entered into cells. Is there such a way with macros?

    I cannot follow the route of protecting pages as I need these employees to be able to enter data into these cells (in ways that may be unique so I can't work around this with a drop down menu)

    Thanks!
    Last edited by ChrisPetersen77; 09-14-2017 at 05:28 PM. Reason: Wanted to clarify common routes that have not been able to help me in this problem

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: A way to prevent ctrl-c and ctrl-v within a cell?

    Hi

    I think this is so simple that you will kick yourself.

    Create two new macros Like:

    Please Login or Register  to view this content.
    Under Macro options set one to run when you press Ctrl and C, the second when you press Ctrl and V.

    I guess if you put these macros into each persons personal workbook then they cannot use Ctrl C and Ctrl V on any workbook.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: A way to prevent ctrl-c and ctrl-v within a cell?

    Hi Chris

    Perhaps something like this in the ThisWorkbook Module...
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: A way to prevent ctrl-c and ctrl-v within a cell?

    Check this out.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Replies: 4
    Last Post: 04-27-2021, 11:49 AM
  2. [SOLVED] CTRL+C & CTRL+V copy single but pasting tab delimited spaced
    By Jack7774 in forum Excel General
    Replies: 4
    Last Post: 03-20-2015, 08:23 AM
  3. Disable cut,copy,paste(including ctrl x, ctrl c n ctrl v)
    By Ramboexcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2014, 01:00 AM
  4. [SOLVED] Move Ctrl + F6 or make a macro that mimicks what Ctrl + F6 does
    By Jacc in forum Word Formatting & General
    Replies: 4
    Last Post: 08-18-2014, 03:28 AM
  5. Replies: 3
    Last Post: 08-02-2013, 12:06 PM
  6. ctrl c and ctrl v breaks a merge cell
    By eg_ckhad in forum Excel General
    Replies: 1
    Last Post: 07-28-2008, 03:32 AM
  7. ctrl c and ctrl v breaks a merge cell
    By eg_ckhad in forum Excel General
    Replies: 1
    Last Post: 07-28-2008, 12:41 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