+ Reply to Thread
Results 1 to 3 of 3

Add number sequence automatically

  1. #1
    Registered User
    Join Date
    02-04-2015
    Location
    Bangi, Malaysia
    MS-Off Ver
    Microsoft 2007
    Posts
    8

    Add number sequence automatically

    Hi,

    I've been working on a list of documents,by which I'll add new document number sequence according to document category each time a new document is registered. I used to add document sequence manually by dragging the cell down, but I now want to add it automatically using vba,by which whenever a user choose a document category, a cells will generate a number sequence following the sequence on the other sheets.

    How to write a vba command to make this things happen?

    Attached my list of documents to give a better picture of this problem.

    Kindly advise.Really appreciated for kind help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Add number sequence automatically

    Does this help any?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-04-2015
    Location
    Bangi, Malaysia
    MS-Off Ver
    Microsoft 2007
    Posts
    8

    Re: Add number sequence automatically

    It does worked! Thanks John.
    really appreciated.

    Now I'm managing to add a new row for each new sequence number is added. As your given code, it seem to add the new number on empty row.
    How to add/insert a new row in the middle of the table according to document category?

+ 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. Automatically add blank rows in a broken sequence - PLEASE HELP?!
    By TweetyPie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2015, 02:54 PM
  2. Replies: 6
    Last Post: 11-26-2013, 05:21 PM
  3. Replies: 5
    Last Post: 11-22-2010, 06:31 PM
  4. how do I put a a sequence number into colun A automatically witho.
    By Custodio Bernardes in forum Excel General
    Replies: 3
    Last Post: 01-02-2005, 11: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