VBA Create New Sheet, named from data in selected cell, and other functions

MeaclH

New Member
Joined
Apr 2, 2014
Messages
13
Hi all,

I have a worksheet with data on it that I would like to use to create a new sheet, when the data is selected. The sheet should be a carbon copy of a master sheet, which is a roster.
In row 1 are dates, when a cell is selected I would like to run a macro that creates a new sheet named after the date in the cell. The date selected should also populate cell A2 in the new sheet.
I would then like it to date/time stamp when this was done and input in row 2 below it.
I would also like to direct the names in the rows below to certain cells on the new sheet ie. Name 1 in B5 should be copied to the new sheet cell C4, B6 to new sheet C7, B7 to new sheet C11 and so on.

Thanks so much!
Hayden
 

Attachments

  • Screenshot 2023-08-16 233308.png
    Screenshot 2023-08-16 233308.png
    33.2 KB · Views: 9

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,069
Messages
6,122,958
Members
449,096
Latest member
Anshu121

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