+ Reply to Thread
Results 1 to 1 of 1

Use VBA as data validation to eliminate copy/paste transferring

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Buffalo, New York
    MS-Off Ver
    Excel 2010
    Posts
    27

    Use VBA as data validation to eliminate copy/paste transferring

    This has been very frustrating for some time now. We use this worksheet to request new items and sales people will fill out the first tab called the For Sales tab.

    I put data validation on some of the columns based on certain restrictions/standards that had to be followed. The problem is when people copy and paste values from column to column, it also pastes the data validation from the column which screws up the process because certain things will not upload now because they violate certain restrictions for that column.

    Is there any way to use VBA for data validation so a user can copy data from column to column without pasting the data validation from that column?
    • Column B cannot exceed 15 characters, so less than or equal too 15 characters.
    • Column D cannot exceed 31 characters, so less than or equal too 31 characters.
    • Column E cannot exceed 31 characters, so less than or equal too 31 characters.
    • Column W has to be two digits (01-99), so 1 would have to become 01 and so on...
    • Column X has to be two digits (01-99, so 1 would have to become 01 and so on...
    • Column AA cannot exceed 27 characters, so less than or equal to 27 characters.
    • Column DU has to be two digits (01-99), so 1 would become 01 and so on...

    I have attached a copy of the spreadsheet for assistance. The list above should only effect the For Sales tab. Any help is greatly appreciated in this frustrating matter!

    Thanks
    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)

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