Creating Duplicate Sheet with criteria

andrei461

New Member
Joined
Sep 26, 2020
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hey Excel Gods need your help for a small problem. VBA noob here.

i have a workbook with Sheet 1: - random date entry(which will manualy updated) in Column B4:B100

i have 2 macro lets cal it "1" & "2".

Macro 1 create a new sheet with the sheet name same as date entry of B4 in Sheet 1 and after that it call Macro 2 in the new sheet.

Problem : I want a vba code that will create a duplicate of the new sheet (i.e., sheet generated after running of Macro 1) for every date entry in sheet 1 (as B4 is already taken care of by macro 1, so the next set of date would be B5 to B100 in sheet 1) and every duplicate sheet will be named as per the corresponding cell value in sheet 1. Also each duplicate sheet's cell A1 & AQ7 should have the corresponding date entry.

Kindly help
Thanks in advance
 

Some videos you may like

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Watch MrExcel Video

Forum statistics

Threads
1,122,991
Messages
5,599,242
Members
414,298
Latest member
bongielondy

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
Top