Copy, paste based on excel sheet name

Bharathi V

New Member
Joined
May 15, 2024
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
Hi, Im new to vba macro. I have an excel file with sheet names in dd-mm-yyyy format. Its dynamic sheets. Sometime ill have only ten sheets, sometime 30 sheets(based on the month).I have another file called source with a sheet called Database and its headerrow is in dd-mm-yyyy format. I want to search in loop the dynamic sheets in dd-mm-yyyy format with the headerrow and copy its column datas to the dynamic sheet. It should repeat for all the sheets. pls. help
 

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.
ha
Hi, Im new to vba macro. I have an excel file with sheet names in dd-mm-yyyy format. Its dynamic sheets. Sometime ill have only ten sheets, sometime 30 sheets(based on the month).I have another file called source with a sheet called Database and its headerrow is in dd-mm-yyyy format. I want to search in loop the dynamic sheets in dd-mm-yyyy format with the headerrow and copy its column datas to the dynamic sheet. It should repeat for all the sheets. pls. help
hard to image when you dont show your form
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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