I have a worksheet with 50 tabs for each state and recurring data in the similar format in all the tabs.
data1 data2
Month1 Temperature Humidity
Month2 Temperature Humidity
Month3 Temperature Humidity
Total Temperature HUmidity
Month1 Temperature Humidity
Month2 Temperature Humidity
Month3 Temperature Humidity
Total Temperature HUmidity
Now I need to do 2 things:
First, I want to copy and paste all the data from each state tab from first workbook to corresponding tabs in another workbook.
Second, I need to inser t 2 blank rows and a heading row after each total in the copied workbook.
My code is below:
The problem with the above code is whenever I run it, it is creating a new worksheet every time and copying data instead of copying data in each state tab in destination workbook and I cannot figure out why it is happening.
Any suggestion would be much appreciated.
Thanks,
Blyzzard
Bookmarks