Results 1 to 3 of 3

Code to search for duplicate and pop up message asking for different value

Threaded View

Glensafro Code to search for duplicate... 03-12-2012, 11:52 AM
tigeravatar Re: Code to search for... 03-12-2012, 12:00 PM
Glensafro Re: Code to search for... 03-12-2012, 12:30 PM
  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Thetford, England
    MS-Off Ver
    Excel 2003
    Posts
    21

    Code to search for duplicate and pop up message asking for different value

    Hi everyone,

    I need a piece of code that can be added to a macro I have written for a "save button" which when pressed checks the contents of cell C15 on sheet 1 of my workbook against all values in column A on sheet 7 for a duplicate and if it finds one shows a pop-up box asking the user to enter a different value to avoid having multiple items with the same reference number.

    Thanks in advance,

    Glen
    Last edited by Glensafro; 03-12-2012 at 12:31 PM.

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