autonumbering invoices

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I really need to know how to make Excel sequentially autonumber invoices.
I've searched everywhere I can think of and this seems to be the best kept
secret on the planet. Can anyone please help me?
 
Hi, Shanalee,

With the code of Mcgimpsey, you can add a little more, I say, the year (ex:
03/06).
For that, you format the entry cell as text and modify the following code to
this:

Private Sub Workbook_Open()

ThisWorkbook.Sheets(1).Range("B2").Value = NextSeqNumber & "/" &
Right(Date, 2)

End Sub

I added the code & "/" & Right(Date, 2) in order to appear the slash and
the to digits of the year.
I hope this helps to you.

--
JRod
Microsoft [MVP] - Excel
http://EXCELer.blogspot.com

______________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top