+ Reply to Thread
Results 1 to 3 of 3

Increase value of cell with each new sheet

  1. #1
    Registered User
    Join Date
    08-15-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Increase value of cell with each new sheet

    I was wondering if it was possible to increase the value of a cell each time a new sheet is created within a workbook. For example, I created a series of events with reoccurring dates (2nd through the 15th), on the next sheet I continued the dates (16th through the 29th). If another user creates a new sheet in the future can the copied sheet then continue the patter automatically (30th and on) without having to change the first date manually?
    I would like to use this process for other functions as well such as number the pay periods and so on.
    Thanks.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Increase value of cell with each new sheet

    The following code will, when a new sheet is added, find the last value in column A of the previous sheet, add 1 to it and place this value in cell A1 of the new sheet.

    Of course, it relies on macros being enabled when the new sheet is added.

    Does this get you started?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-15-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Increase value of cell with each new sheet

    I think it does, I will play with it to see if I can get it to work.
    Thanks a ton.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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