Excel guru's Please help..

smartguy

Well-known Member
Joined
Jul 14, 2009
Messages
778
Hi all,

I have 20 sheet in the Excel file. in the below Format.

i want collate all the sheet in to 1 sheet.


Excel Workbook
ABCDEF
1countrymoviemovietheratesumatime
2usaaaaaaaaa
3usaaaaaaaaa
4usaaaaaaaaa
5usaaaaaaaaa
6usaaaaaaaaa
7usaaaaaaaaa
8usaaaaaaaaa
9usaaaaaaaaa
Sheet1
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

Until and unless if you provide more info about the error, you won't get any reply here. They both asked you to provide in which line you get the error.

Post your code here and tell us in which line you get the error.
 
Upvote 0
goto the VBE module where you pasted the code,

Press F8 to execute the code line by line, and post the line where you encounter an error
 
Upvote 0
im bumping this up coz I have the same problem as the original first post, but I can't get it to work?

When I run each line in VB and get to this line:

Worksheets(sh1).Cells(lastrow + 1, 1).PasteSpecial xlPasteValues

I get this error:

'Run-time error 1004': The information cannot be copied and pasted because the copy area and the paste area are not the same size and shape'

Im on excel 2007.
Thanks.
 
Upvote 0
Is there any merged cells where you want to copy the data?
Is it happen for the first sheet where to copy?
Did you ever try the second code if there is the same message?
 
Upvote 0
There are no merged cells no.

I'm not sure what you mean with the other questions, sorry.

Do you have an email so I can send the spreadsheet?
I don't know how to program.
 
Upvote 0
did your data exceed more than 1 million rows?
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

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