Results 1 to 3 of 3

Thread: Auto numbering upon completion

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Location
    E Wisconsin on Da Mich Ocean
    Posts
    2

    Question Auto numbering upon completion

    I have an excel form that is set up to automatically route from one user to another for approval. Once it hits the last step, I need it to assign a number that sequences after each one comes through. Has anyone out there written any code to do such a thing?

    Example: CEO (8th and final in line of the routing) approves capital requisition, pushes the button to send notice to everyone, SOMEHOW the number 010 is assigned to this requisition and is indicated on the email notice. The NEXT requisition he receives and approves will be 011, and so on.

    I need this before Monday next week or

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Auto numbering upon completion

    They are all on a sheet yeah? So have a cell that uses the max function to get the last/highest number assigned. When CEO presses the approve button, it checks that number, adds one and saves it to the cell. Refresh the worksheet if required and the max number should increase.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Location
    E Wisconsin on Da Mich Ocean
    Posts
    2

    Re: Auto numbering upon completion

    The form is a template that saves itself as a new name each time the initiator sends it out. If I have the code access a seperate worksheet that had the Max Function in it would it update based on the number of times it was accessed?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width