+ Reply to Thread
Results 1 to 8 of 8

Using sequential numbers

  1. #1
    Registered User
    Join Date
    08-17-2007
    Posts
    9

    Question Using sequential numbers

    Hello All,
    I have another question and it is about using sequential numbers as an invoice number. I found the following code at http://www.mcgimpsey.com/excel/udfs/sequentialnums.html

    Please Login or Register  to view this content.
    Could someone explain it (line by line) to me so that I can understand what it is suppose to do?

    Thank you in advance for your time and patience as I am learning.

    Rhonda

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Rhonda,

    There is a simpler and more secure way to handle your invoice numbers. Have a look at the code I wrote for another poster who was doing this with an Excel template.

    Automatic Invoice Numbering

    Sincerely,
    Leith Ross

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Leith's suggsetion stores the number in the registry, which is fine. However, it isn't available if you are using another computer.

    This is another way that stores the number in a Name, for a full explanation of using Names in Excel read Bob Phillips article here

    http://www.xldynamic.com/source/xld.Names.html

    To use this you must be using a workbook template, ie a master copy that you save copies of. I usually have a database built in for storing invoice data, etc.

    This code will add a name that stores your unique number

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    No wonder you are getting conused. Not only are you asking virtually the same question in two Forums

    http://www.ozgrid.com/forum/showthre...d=1#post384281

    You are mixing your answers & responding to the wrong question

  5. #5
    Registered User
    Join Date
    08-17-2007
    Posts
    9

    Unhappy Sorry royuk, please forgive me

    Thank you all for responding, but I do not want to use this code, I just want to understand what is happening on each line of code.

    I am working on another forum with incremating an invoice number, and do not want to use the code that is in my first post here, I just want to understand it.

    I am sorry royuk, I just wanted to understand this code for maybe a future use...not now, I am still too new.

    Again, Thank you all for responding and royuk, please forgive me I will not do this again.

    Rhonda

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Rhonda, it's confusing for us when you are mixing posts like this. The simplest way is to do what I suggested at Ozgrid.

  7. #7
    Registered User
    Join Date
    08-17-2007
    Posts
    9

    Thumbs up Using sequential numbers -- solved

    Thank you royuk, and everyone else too, for your help.

    royuk, I did use the suggestion that you made in ozgrid and miss kf (from ozgrid forum) put it into my invoice and it works great.

    I would still like to understand what is going on in the code from my first post here, but I will try to figure it out at a later date.

    Thanks!!

    Rhonda
    Last edited by Rhonda F; 08-22-2007 at 12:44 AM.

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    The original code is storing the number in a Text File

+ 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