+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Creating new record numbers each time a new record is created in an Excel Table

  1. #1
    Registered User
    Join Date
    01-14-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    5

    Creating new record numbers each time a new record is created in an Excel Table

    I have a table in Excel, used as an Issues Log, and would like to have the Ref No Column generate a new number(1,2,3,4,etc.) each time a new record is created by tabbing through the fields.
    I'm not sure if VBA is the solution, or if a formula could do it.....I'm just not sure where to begin.

    Any help would be greatly appreciated!

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Creating new record numbers each time a new record is created in an Excel Table

    I know of a sure method that does work (i tried the worksheet_change event but i got stuck royally).

    Try this - in cell A9, put this formula -
    Please Login or Register  to view this content.
    In cell A10, put this formula -
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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