copy several sheets into one main sheet

zeekmcphee

New Member
Joined
Feb 27, 2018
Messages
25
Office Version
  1. 2016
Platform
  1. Windows
Hello,
I have 6 sheets(sheets 1 to 6) full of data.The data rows will vary in length from a few rows to several hundred.Once the data has been collected in these sheets I copy and paste them all into one sheet,(sheet7)with the data from sheet one at the top,the data from sheet two directly underneath and so on.
I tried using a macro but of course the varying lengths of each sheet means that an ordinary macro wont work because data will be overidden,or their could be a gap in the data.
Is there a way to get automate this without copy and pasting,perhaps by using some vba code.
Ragards
Zeek
 
Hi Fluff
:ROFLMAO:
Actually no :)
many thanks for the code,it is now working 100%
Regards
Zeek
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,824
Messages
6,121,784
Members
449,049
Latest member
greyangel23

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