Copy Sheet to New Sheet depending on day of the week

BDavidD

New Member
Joined
May 10, 2022
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
Have a network data sheet that has loads of projects and dates. I update this sheet daily on my local machine, but I can't track changes.
I would like to copy this entire sheet to dedicated Monday-Friday sheets in the same workbook depending on what TODAY is. (If today is Monday, copy the sheet to the MONDAY tab, etc)
The following Monday, the whole copy / paste thing starts over.
In the end, I'll create an additional sheet that will show changes for the week.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the Forum!

Perhaps something like:

VBA Code:
Worksheets("Network Data").Cells.Copy

With Worksheets(Format(Date, "dddd")).Range("A1")
    .PasteSpecial Paste:=xlPasteValues
    .PasteSpecial Paste:=xlPasteFormats
End With
 
Upvote 0
Solution
Welcome to the Forum!

Perhaps something like:

VBA Code:
Worksheets("Network Data").Cells.Copy

With Worksheets(Format(Date, "dddd")).Range("A1")
    .PasteSpecial Paste:=xlPasteValues
    .PasteSpecial Paste:=xlPasteFormats
End With
Thank you. I've been a lurker way too long.
What I really want to do is have 5 tabs already... Monday, Tuesday, Wednesday, Thursday, Friday.
When I press the button, I want the network data to overwrite whatever tab corresponds to the current day of the week.
I suppose that I could simply put 5 buttons on the page though.
 
Upvote 0
Did you try the code?

What I really want to do is have 5 tabs already... Monday, Tuesday, Wednesday, Thursday, Friday.

That's what I assumed.

When I press the button, I want the network data to overwrite whatever tab corresponds to the current day of the week.
I suppose that I could simply put 5 buttons on the page though.

That's what the code does - only one button required.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top