+ Reply to Thread
Results 1 to 3 of 3

How to increment a date by one day across multiple sheets

  1. #1
    Registered User
    Join Date
    07-29-2015
    Location
    Lebanon
    MS-Off Ver
    2013
    Posts
    1

    How to increment a date by one day across multiple sheets

    Hello,

    I am new to VBA in excel.
    I have a workbook with 15 sheets.
    I want to insert a date in cell B4 on sheet 1, and have all dates in sheets 2 to 15 incremented by 1 day.
    example sheet 1: date: 29/07/2015
    sheet 2: date: 30/07/2015
    sheet 3: date: 31/07/2015
    sheet 4: date: 01/08/2015

    Also, I want cell Z4 in each sheet to be updated with the matching day of the date
    example sheet 1: day: Wednesday
    sheet 2: day: Thursday
    sheet 3: day: Friday
    sheet 3: day: Saturday

    Can you please help me?

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to increment a date by one day across multiple sheets

    Hi,

    Yes, you just have to use =Sheet1!B4+1 on Sheet2!, Sheet2!B4+1 on Sheet3! and so on...

    and for date to be displayed as day in Z4 = TEXT(B4,"dddd")

  3. #3
    Registered User
    Join Date
    03-21-2013
    Location
    Noida
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: How to increment a date by one day across multiple sheets

    For VBA Code please let us know do you have different names of sheets or you have default names?
    Warm Regards
    Oliver
    XL - ing

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Increment Dates Across Sheets
    By Giggs11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2015, 10:30 AM
  2. VBA To Increment Sheets With The Same Name By 1
    By tellemwhyumad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2014, 10:59 AM
  3. Replies: 2
    Last Post: 03-19-2014, 11:47 AM
  4. HELP - Referencing cells from different sheets using fixed increment
    By faisy110 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-04-2014, 07:14 PM
  5. [SOLVED] Increment Sheets, but keep cell reference the same on drag
    By Alostsoul in forum Excel General
    Replies: 7
    Last Post: 02-28-2013, 04:38 AM
  6. Replies: 1
    Last Post: 12-15-2011, 05:32 AM
  7. Count - multiple criteria, multiple sheets, and date range.
    By threecliffs in forum Excel General
    Replies: 6
    Last Post: 06-14-2011, 01:36 PM

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