+ Reply to Thread
Results 1 to 9 of 9

put date in each worksheet and rename tab with date

  1. #1
    Registered User
    Join Date
    10-14-2013
    Location
    uk
    MS-Off Ver
    2016
    Posts
    87

    put date in each worksheet and rename tab with date

    Hi folks
    I have a workbook which contains a sheet for each day of the month.
    I would like a macro operable from the cover sheet which will do the following.

    Read the input date from cell c3 of the cover sheet (this will be manually changed every month)
    Put the incrementing date in cell D2 of each sheet
    Rename each tab to the incremental date

    Example attached
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: put date in each worksheet and rename tab with date

    See if this is how you wanted.
    Please Login or Register  to view this content.
    Note:
    I have left "Dates" sheet as it is, but I don't think you need it.

  3. #3
    Registered User
    Join Date
    10-14-2013
    Location
    uk
    MS-Off Ver
    2016
    Posts
    87

    Re: put date in each worksheet and rename tab with date

    That looks perfect Jindon, many thanks

  4. #4
    Registered User
    Join Date
    10-14-2013
    Location
    uk
    MS-Off Ver
    2016
    Posts
    87

    Re: put date in each worksheet and rename tab with date

    Hi Jindon
    I have been playing around with the code to tweek it,
    I changed the
    Please Login or Register  to view this content.
    to create enough sheets for the full month.
    However is their a way you can get it to create the right amount of sheets for each month ?

    all the best
    Jim

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: put date in each worksheet and rename tab with date

    Do you always want to start from day1 of the month or from whatever day in C3 to the end of the month?

  6. #6
    Registered User
    Join Date
    10-14-2013
    Location
    uk
    MS-Off Ver
    2016
    Posts
    87

    Re: put date in each worksheet and rename tab with date

    Yes it will always be from day 1 to the end of the month in C3

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: put date in each worksheet and rename tab with date

    OK, see if this works as you want.
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-14-2013
    Location
    uk
    MS-Off Ver
    2016
    Posts
    87

    Re: put date in each worksheet and rename tab with date

    Perfect mate , many thanks

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: put date in each worksheet and rename tab with date

    You are welcome.

+ 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] Add a new sheet and rename tab with a date
    By chrisrick in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-07-2014, 12:36 PM
  2. [SOLVED] Rename tab with date from a cell for each worksheet in the workbook
    By tmeakin! in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2013, 05:23 PM
  3. [SOLVED] How to copy worksheet to new worksheet each week and rename the tabs for the monday date.
    By tmeakin! in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2013, 01:17 PM
  4. Copy a worksheet and rename with todays date
    By batchy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2011, 06:29 AM
  5. Macro for button to create new worksheet and rename with todays date
    By BBXguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2009, 03:47 PM
  6. Macro to rename a worksheet to "Numbers as of [+today's date]"
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2009, 03:28 PM
  7. [SOLVED] Date updates from worksheet to chart & changes date to a date series! Help!!
    By Jayjg in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-22-2005, 11:06 AM

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