+ Reply to Thread
Results 1 to 7 of 7

Data validation - Restrict Copy paste

  1. #1
    Registered User
    Join Date
    07-16-2014
    Location
    mumbai
    MS-Off Ver
    Ms excel 2010
    Posts
    4

    Data validation - Restrict Copy paste

    Hello Guys,
    New to this forum but got lot of help from this forum.

    I have sheet in which i need to protect the yellow colored columns in which data validation is there ...NO one should do copy paste in that.

    I have tried copying VBA code from diff sites but nothing is working for me can someone help ?
    Attached Files Attached Files

  2. #2
    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: Data validation - Restrict Copy paste

    Hi arunrajaiah

    Welcome to the Forum!!!

    Try this Code in the attached. The Code is modified from here. http://forums.techarena.in/tips-tweaks/1073683.htm
    Please Login or Register  to view this content.
    Attached Files Attached Files
    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.

  3. #3
    Registered User
    Join Date
    07-16-2014
    Location
    mumbai
    MS-Off Ver
    Ms excel 2010
    Posts
    4

    Re: Data validation - Restrict Copy paste

    Thanks a lot its working fine millions of Kudos to u

  4. #4
    Registered User
    Join Date
    07-16-2014
    Location
    mumbai
    MS-Off Ver
    Ms excel 2010
    Posts
    4

    Re: Data validation - Restrict Copy paste

    HI sorry to disturb u ...Its geting applied for whole sheet can u pls suggest some code change which will apply only to sheet1 since ...it will effect working in other sheet if copy paste is down for some other sheet ....sorry for bothering again

  5. #5
    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: Data validation - Restrict Copy paste

    Hi arunrajaiah

    Place this Code in the ThisWorkbook Module (change the Sheet Code Names as indicated)
    Please Login or Register  to view this content.
    Place this Code in the Worksheet Module of the Sheet with Data Validation (the Sheet you wish to NOT allow Copy/Paste)
    Please Login or Register  to view this content.
    Place this Code in a General Module
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-16-2014
    Location
    mumbai
    MS-Off Ver
    Ms excel 2010
    Posts
    4

    Re: Data validation - Restrict Copy paste

    Your awe sum bro no words for u r extra ordinary skills

  7. #7
    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: Data validation - Restrict Copy paste

    Hi arunrajaiah

    You're welcome...glad I could help.

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

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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: 7
    Last Post: 07-04-2014, 05:34 AM
  2. How to restrict copy paste in drop down list?
    By Parwez in forum Excel General
    Replies: 5
    Last Post: 03-19-2013, 08:46 AM
  3. [SOLVED] To restrict copy and Paste in worksheet
    By flakedew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2012, 06:03 AM
  4. validation rules not working when someone copy paste data on validation cell
    By jthakrar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:36 AM
  5. [SOLVED] Restrict copy paste ability
    By wana be xl master in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-22-2006, 03:30 PM

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