+ Reply to Thread
Results 1 to 3 of 3

Incremental Numbering

  1. #1
    Registered User
    Join Date
    03-26-2007
    Posts
    2

    Incremental Numbering

    I am trying to set up a workbook that will print a blank invoice which will automatically increment the invoice number (in this case cell G2). I have been trying to use the "Private Sub Workbook_BeforePrint(Cancel As Boolean)" code, but cannot get it to work, and also tried to make a Macro, which worked but would increment by two rather than one but only print one, so that there was a number missing. The purpose of this is to be able to print out blank NCR sets to be filled in for use with customers in the field.
    Any help greatly appreciated

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    I'm not a VBA person, but have a look here

    http://www.mcgimpsey.com/excel/udfs/sequentialnums.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-26-2007
    Posts
    2
    That addresses a different problem. I don't want to keep copies of these invoices as Excel files I just want to be able to print them out without having to change the invoice number every print.

+ 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