Results 1 to 5 of 5

Sequential Numbering of Invoices when Printing

Threaded View

  1. #3
    Registered User
    Join Date
    06-17-2006
    Posts
    28
    found some vb code on the net and got it working. Thanks to all
    Private Sub Workbook_BeforePrint(Cancel As Boolean)
    If ActiveSheet.Name = "Summary" Then Range("A1").Value = Range("A1").Value + 1
    End Sub
    
    Private Sub Workbook_Open()
    
    End Sub
    As long as your sheet is called Summary, the numbers in cell A1 change everytime you print (or print preview)
    Last edited by Leith Ross; 01-10-2011 at 04:56 PM. Reason: Added Code Tags

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