+ Reply to Thread
Results 1 to 5 of 5

Serial No will follow row number

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    51

    Serial No will follow row number

    Hi, I need some assistance here. I have a list of Data and the data are as follows

    ID Name D.O.B
    1 Bob 01/02/1999
    2 Tom 03/08/2000
    3 Ben 04/09/2000
    4 Paul 04/07/2001

    And when I copy one of the data (e.g. row 2) over to a new sheet, it works. But when I create a new entry, the data will be like

    ID Name D.O.B
    1 Bob 01/02/1999
    3 Ben 04/09/2000
    4 Paul 04/07/2001
    4 Jen 05/09/2001

    The ID will follow the row number instead

    I want the end results to be
    ID Name D.O.B
    1 Bob 01/02/1999
    3 Ben 04/09/2000
    4 Paul 04/07/2001
    5 Jen 05/09/2001


    Below is my code
    Please Login or Register  to view this content.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Serial No will follow row number

    Hi
    try so
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    51

    Re: Serial No will follow row number

    Hi, it works perfectly.. Thank You

  4. #4
    Registered User
    Join Date
    07-01-2015
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    51

    Re: Serial No will follow row number

    Quote Originally Posted by nilem View Post
    Hi
    try so
    Please Login or Register  to view this content.
    Hi, I would like to add on a question, may I know how to highlight a new entry row after based on the D.O.B year. Example year 1999, will be blue, year 2000 will be green and so on.

  5. #5
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: Serial No will follow row number

    I would suggest Conditional Formatting for this task.
    justin.jpg
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

+ 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. code to generate serial number based on number of records
    By winmaxservices1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2015, 03:21 AM
  2. Overwrite the advanced filtered data serial number column with unique number
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-15-2012, 12:38 AM
  3. modify serial number if number already exists
    By surfengine in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-05-2010, 07:49 PM
  4. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 AM
  5. [SOLVED] Serial Number
    By Jason Zischke in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2006, 02:10 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