+ Reply to Thread
Results 1 to 2 of 2

Find duplicate rows and give a warning.

  1. #1
    Forum Contributor
    Join Date
    02-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    133

    Find duplicate rows and give a warning.

    Hello,

    I am new to VBA. I have managed to gather codes from here and there and reached so far. I have attached a sheet. Its basically car allocation sheet for a car showroom.

    Sheet1 contains customer list, with booking date and model they need. Cars are to be delivered on first come first served basis. (That's already done)


    1. There are 2 status, delivered and hold and those rows go to their particular sheets. That is also functional. Now in sheet HOLD, i need 2 status, delivered or rejected. If delivered, it will go to delivered sheet, if rejected then back to sheet1.

    2. Also i have inserted another module (not functional, got it from another user) to check for duplicate data whenever i paste new data to sheet1. I need to compare 3 columns, Name, mobile no, and model; with other datain sheet "delivered" and "hold". If there is a duplicate data, it should show some alert message and in sheet1 column G, i should get its status (Delivered or hold) so i know in which sheet the duplicate data is.

    3. Whenever any macro runs, after processing it should save the workbook automatically.

    Thank you.

    EDIT: In Sheet2 column H, if there is no value and if someone clicks "Allocate" by error, sheet hangs. Anyway to check all macros for errors before they run so sheet does not hang?
    Attached Files Attached Files
    Last edited by moonbreakker; 07-30-2015 at 01:12 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Find duplicate rows and give a warning.

    Try this out for size...
    Attached Files Attached Files
    !If all your troubles are solved, then so is the thread. Show this by marking it so using thread tools at the top of the page.
    If I helped do this, then please show your appreciation by awarding rep points.
    <------ Button for that is over there

+ 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. Find duplicate rows and add together
    By chessnsnuff in forum Excel General
    Replies: 29
    Last Post: 03-31-2017, 12:32 PM
  2. Replies: 2
    Last Post: 02-17-2015, 02:39 AM
  3. Find duplicate text in cells in column, then give names of cells containing duplicate text
    By spelunkerforlife in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 10:13 AM
  4. Find duplicate info in two columns and copy info from duplicate rows
    By USGS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-12-2011, 07:31 PM
  5. Check content on notepad before pasting in excel and give warning
    By abhishek79 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2011, 11:05 AM
  6. have a cell give warning
    By billy boy in forum Excel General
    Replies: 11
    Last Post: 12-15-2005, 04:45 PM
  7. Find duplicate rows and add together
    By DaleM in forum Excel General
    Replies: 1
    Last Post: 02-08-2005, 09:06 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