Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default HOW DO I SETUP NUMBERING INVOICES

I am trying to set up invoicine where the number will change every time I
open it-to a next available number
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default HOW DO I SETUP NUMBERING INVOICES

Hi,

All the methods are here

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

Mike

"Jo Ann P" wrote:

I am trying to set up invoicine where the number will change every time I
open it-to a next available number

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default HOW DO I SETUP NUMBERING INVOICES

Dear Jo

I would suggest to store the invoice number into an external file or a text
file in the same folder. The below solution increments the number everytime
you open; provided you save the workbook everytime you open.

If you are new to macros the set the Security level to low/medium in
(Tools|Macro|Security). 'Launch VBE using short-key Alt+F11. On the left
treeview right double click 'This Workbook '. Paste the below code...

Private Sub Workbook_Open()
Range("A1") = Range("A1") + 1
End Sub

If you would prefer to increment the number on each save, then paste the
below code.

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If MsgBox("Do you want to increment the invoice number", vbQuestion +
vbYesNo + vbDefaultButton2) = vbYes Then
Range("A1") = Range("A1") + 1
End If
End Sub


If this post helps click Yes
---------------
Jacob Skaria


"Jo Ann P" wrote:

I am trying to set up invoicine where the number will change every time I
open it-to a next available number

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i doconsecutive numbering on invoices automatically? Barbara Duckett Excel Worksheet Functions 2 May 18th 09 04:36 AM
self numbering invoices Paragdor New Users to Excel 2 September 11th 07 01:48 PM
auto-numbering for invoices Patricb Excel Worksheet Functions 2 July 31st 06 05:38 AM
How do I set up incremental numbering of Invoices in Excel? Office User Excel Programming 2 May 9th 05 04:51 PM
How do I set up incremental numbering of Invoices in Excel? TFT Excel Programming 0 November 26th 04 11:39 PM


All times are GMT +1. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"