+ Reply to Thread
Results 1 to 5 of 5

Macro to advance date by one week

  1. #1
    Registered User
    Join Date
    12-26-2009
    Location
    Richmond, North Yorkshire
    MS-Off Ver
    2017
    Posts
    83

    Macro to advance date by one week

    I've written a macro which clears my spreadsheet and takes forward my totals to a new sheet for the following week.
    What I can't work out how to do is to get it to also change the date and advance it by one week.
    Can anybody help me out?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Macro to advance date by one week

    Where is the date?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    12-26-2009
    Location
    Richmond, North Yorkshire
    MS-Off Ver
    2017
    Posts
    83

    Re: Macro to advance date by one week

    The date is just in a cell on the spreadsheet.

    I want the macro to advance it by a week at the same time as it carries forward my number totals.

    It is in CELL B1
    Last edited by davidcrawt; 10-13-2015 at 07:17 AM.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Macro to advance date by one week

    To add a week to a date in a cell all you need is this.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-26-2009
    Location
    Richmond, North Yorkshire
    MS-Off Ver
    2017
    Posts
    83

    Re: Macro to advance date by one week

    Hi Norie, thanks so much for that, it works perfectly. Very Happy.

+ 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. Replies: 3
    Last Post: 10-03-2015, 10:22 AM
  2. [SOLVED] How to run a macro to put in a formula which calculates the week ending date
    By sandman85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2015, 08:06 PM
  3. Replies: 13
    Last Post: 10-10-2014, 06:50 AM
  4. Macro Help to Advance Date Value in Cell by 7 Days
    By Palancar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2013, 04:24 PM
  5. macro to get day of the week from date
    By mithil in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-15-2013, 10:24 PM
  6. Replies: 0
    Last Post: 01-21-2013, 08:46 AM
  7. week start date and end date based on week number
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 12:39 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