+ Reply to Thread
Results 1 to 3 of 3

Auto Generation of Numbers in single cell

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    Kolkata
    MS-Off Ver
    Excel 2003
    Posts
    1

    Auto Generation of Numbers in single cell

    I have created an Invoice format in excel. I need to generate the bill numbers automatically every time I open the file in cell no: C1 as 00001, 00002, 00003 and so on. Is there any formula by which I can create this?

    Attchd a sample of the invoice.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Auto Generation of Numbers in single cell

    See the attached file.workbook event is used.
    Attached Files Attached Files

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Auto Generation of Numbers in single cell

    Format the c1 cell as Custom>>00000

    Add the below code in ThisWorkbook Code window.

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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