+ Reply to Thread
Results 1 to 4 of 4

VBA: Copy sheet x number of times and rename with the date of each week

  1. #1
    Registered User
    Join Date
    04-24-2024
    Location
    Seattle, Washington
    MS-Off Ver
    OFfice 365
    Posts
    1

    VBA: Copy sheet x number of times and rename with the date of each week

    Hi. I have a file that we use each week for a staff meeting. It uses a template that is the same for each week with the sheet named for the date (i.e., 04/30/2024). I'd like to use a button to add the next four weeks and rename each sheet with that week's date. Each date is a Monday so each sheet's name could simply be 7 days from the previous sheet.

    Can you help me with the VBA code for this function?

    Thanks for your help!

  2. #2
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,356

    Re: VBA: Copy sheet x number of times and rename with the date of each week

    Perhab
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,535

    Re: VBA: Copy sheet x number of times and rename with the date of each week

    Please Login or Register  to view this content.
    Experience trumps academics every day of the week and twice on Sunday.

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,535

    Re: VBA: Copy sheet x number of times and rename with the date of each week

    If your day that you run this macro is not a monday (like daboho's).
    Please Login or Register  to view this content.

+ 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] Help Modify Copy and Rename a Sheet Multiple Times
    By richardking in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-22-2019, 11:59 PM
  2. [SOLVED] VBA to copy sheet, move to end and rename to next number in sequence
    By benjhardie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2019, 08:04 PM
  3. Replies: 0
    Last Post: 06-28-2014, 02:26 PM
  4. Replies: 4
    Last Post: 08-16-2013, 04:10 AM
  5. [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
  6. [SOLVED] Copy sheet to new file and rename 52 times one per week
    By Greaser2k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2012, 03:53 PM
  7. Copy sheet and rename based on week number
    By racton in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2011, 09:37 PM

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