+ Reply to Thread
Results 1 to 4 of 4

how does an invoice number change automatically ?

  1. #1
    JudyRuiz
    Guest

    how does an invoice number change automatically ?

    Every time I make a new bill i would like for the invoice number to change
    automatically. What can i do to make this possible?

  2. #2
    Forum Contributor
    Join Date
    08-23-2004
    Posts
    210
    Instructions here: http://www.mcgimpsey.com/excel/udfs/sequentialnums.html

  3. #3
    Paul B
    Guest

    Re: how does an invoice number change automatically ?

    Judy, you could use this, it will add 1 to sheet 1 cell A1 each time the
    workbook is opened

    Private Sub Workbook_Open()
    Sheets("sheet1").Range("A1") = _
    Sheets("sheet1").Range("A1") + 1
    End Sub

    To put in this macro, from your workbook right-click the workbook's icon and
    pick View Code. This icon is to the left of the "File" menu this will open
    the VBA editor, in the left hand window double click on thisworkbook, under
    your workbook name, and paste the code in the window that opens on the right
    hand side, press Alt and Q to close this window and go back to your
    workbook, now this will run every time you open the workbook. If you are
    using excel 2000 or newer you may have to change the macro security
    settings to get the macro to run. To change the security settings go to
    tools, macro, security, security level and set it to medium



    If this is a template you are using you will need to have a look here

    http://www.mcgimpsey.com/excel/udfs/sequentialnums.html
    --
    Paul B
    Always backup your data before trying something new
    Please post any response to the newsgroups so others can benefit from it
    Feedback on answers is always appreciated!
    Using Excel 2002 & 2003




    "JudyRuiz" <[email protected]> wrote in message
    news:[email protected]...
    > Every time I make a new bill i would like for the invoice number to change
    > automatically. What can i do to make this possible?




  4. #4
    cycling-rod
    Guest

    Re: how does an invoice number change automatically ?


+ 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