+ Reply to Thread
Results 1 to 4 of 4

Auto generate numbers

  1. #1
    Registered User
    Join Date
    07-28-2010
    Location
    Galveston,TX
    MS-Off Ver
    Excel 2003
    Posts
    7

    Auto generate numbers

    hello, I know this has been talked about many of times here but I can't find a solution that fits what I need. I have created this macro for my company and everything works great but the way I have it now each one of my locations enters there our "Collection #" in my macro. That has led to them entering duplicate numbers. I would like to be able to have the macro auto generate a number into this cell 'G2" for them starting at 0001. Then next time they open it it would enter 0002 and so on. I have tried different methods to no avail. below is the code for the macro. Thank you so much for any help.


    Please Login or Register  to view this content.
    Last edited by MNB123; 07-30-2010 at 10:42 AM.

  2. #2
    Registered User
    Join Date
    07-28-2010
    Location
    Galveston,TX
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Auto generate numbers

    Ok so I found this code and it works but when I close the workbook and reopen it it asks me to enter a number to start with again. It is not saving the count so it restarts everytime. how can I get this to save so it will work? Below is the code.


    Please Login or Register  to view this content.
    Last edited by MNB123; 07-30-2010 at 10:44 AM.

  3. #3
    Registered User
    Join Date
    07-28-2010
    Location
    Galveston,TX
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Auto generate numbers

    Can someone please help! BUMP!

  4. #4
    Registered User
    Join Date
    07-28-2010
    Location
    Galveston,TX
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Auto generate numbers

    No worries. fixed it! and it works great.

+ 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