+ Reply to Thread
Results 1 to 3 of 3

Macro to only allow data to be copy pasted based on data validation criteria

  1. #1
    Registered User
    Join Date
    06-10-2016
    Location
    India
    MS-Off Ver
    2010
    Posts
    9

    Macro to only allow data to be copy pasted based on data validation criteria

    Hi everyone.
    I am trying to find a macro that will only allow data to be copy pasted based on data validation criteria.
    The user can only enter the following English characters - alphabets (upper and lower), numbers, period, comma, forward slash, hyphen and apostrophe. And with the help of the forum members, I managed to get this formula.
    My next task is finding a code where the user is able to copy paste data which satisfies all the above mentioned criteria. If it doesn't, is it possible to have a macro do this? Also, I need the macro to run when the sheet is opened, or force the user to have macros enabled.
    I have attached a sample file, with the data validation criteria. (The data validation applies only to rows A8: F207.) I have tried various codes but nothing seems to work. I can't prevent the user from copying and pasting completely, as the sheet usually consists of 5,000 rows worth of information, which will be an absolute pain to type out.
    Thank you for any help you can provide.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-10-2016
    Location
    India
    MS-Off Ver
    2010
    Posts
    9

    Re: Macro to only allow data to be copy pasted based on data validation criteria

    Bump no response

  3. #3
    Registered User
    Join Date
    06-10-2016
    Location
    India
    MS-Off Ver
    2010
    Posts
    9

    Re: Macro to only allow data to be copy pasted based on data validation criteria

    Hi everyone.
    I am trying to find a macro that will only allow data to be copy pasted based on data validation criteria.
    The user can only enter the following English characters - alphabets (upper and lower), numbers, period, comma, forward slash, hyphen and apostrophe. And with the help of the forum members, I managed to get this formula.
    My next task is finding a code where the user is able to copy paste data which satisfies all the above mentioned criteria. If it doesn't, is it possible to have a macro do this? Also, I need the macro to run when the sheet is opened, or force the user to have macros enabled.
    I have attached a revised sample file, with the data validation criteria. (The data validation applies only to rows A8: F207.) I have tried various codes but nothing seems to work. I can't prevent the user from copying and pasting completely, as the sheet usually consists of 5,000 rows worth of information, which will be an absolute pain to type out.
    Thank you for any help you can provide.
    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. Run macro when data based on cell value that is pasted and not typed in
    By originalJ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-02-2016, 01:56 PM
  2. Macro to filter data and copy the data's from multiple columns based on the criteria
    By millatshawn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 08:14 AM
  3. [SOLVED] Macro to Copy Data and Paste Values Based on cell criteria
    By Taislin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2012, 06:51 PM
  4. macro to copy data based on criteria
    By arnab0711 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-20-2011, 12:42 PM
  5. Macro to copy data in rows based on criteria
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-05-2010, 10:24 PM
  6. Data validation - when copied & pasted validation overlooked.
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2008, 04:29 PM
  7. [SOLVED] Macro or formula to copy data based on criteria
    By MT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-05-2005, 10:03 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