+ Reply to Thread
Results 1 to 3 of 3

Need help with macro which adds 1 to the cell below like an autonumbering system?

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    Hamilton, Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Need help with macro which adds 1 to the cell below like an autonumbering system?

    I know it can be done but don't know how to create a macro in Excel to add 1 to the cell below like an autonumber in MS Access.
    The table I'm creating will be used to track journals I want the system to generate the next journal number and I want to number to be prefixed with the fiscal year i.e. FY0809.

  2. #2
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Need help with macro which adds 1 to the cell below like an autonumbering system?

    It's not quite as nice as Access, but if you make formulas below data then create a list, the formulas do get copiied down. Try it out, just put a value below the data.
    Attached Files Attached Files
    If you can't figure out how a formula works, try stepping through it using "Evaluate Formula" in the Formula Auditing menu item in the tools menu!

    If you want to see where your code went wrong, try stepping through it by clicking in the code and pressing F8 and watch as the magic happens!


    If you are happy with any of the results, please add to the contributor's reputation by clicking the star icon.

  3. #3
    Registered User
    Join Date
    03-16-2009
    Location
    Hamilton, Canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Need help with macro which adds 1 to the cell below like an autonumbering system?

    The works! Great thanks for the help!

+ 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