Forum

Copy all worksheets...
 
Notifications
Clear all

Copy all worksheets in one

10 Posts
4 Users
0 Reactions
165 Views
(@bill-jone)
Posts: 28
Eminent Member
Topic starter
 

Hi all,

Please can you help me to Copy all worksheets in one. please check attached file.

Input: many worksheets, may be 2 and more.

Output: Consolidated sheet.

Thanks;

Bill

 
Posted : 27/08/2019 10:19 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Bill,

No workbook attached.

Regards

Phil

 
Posted : 27/08/2019 10:29 am
(@bill-jone)
Posts: 28
Eminent Member
Topic starter
 

Hi Philip,

Thank you for fast reply.

Please check attached file.

 

Thanks;

Bill

 
Posted : 27/08/2019 12:45 pm
(@bill-jone)
Posts: 28
Eminent Member
Topic starter
 

Hi Philip,

I'm sure you are busy, when you have a chance please check my request.

Thanks;

Bill

 
Posted : 30/08/2019 5:07 am
(@rob342)
Posts: 9
Active Member
 

Hi Bill

See attachment, i am presuming there are headers on all sheets ?

Rob

 
Posted : 31/08/2019 7:36 am
(@bill-jone)
Posts: 28
Eminent Member
Topic starter
 

Hi Robert,

This is impressive! Thank you very much!

Please can you let me know that, the changes in code, in case the sheets not have headers.

Thanks;

Bill

 
Posted : 03/09/2019 5:34 am
(@rob342)
Posts: 9
Active Member
 

Hi Bill

Sorry for the delay have been on holiday in Greece

If the sheets do not contain headers then change the Offset from (1) to (0) as below

Sheets(i).Cells(1, 1).CurrentRegion.Offset(0).Copy Tgt.Cells(Lr, "A")

Regards

Rob

 
Posted : 19/09/2019 5:59 am
(@bill-jone)
Posts: 28
Eminent Member
Topic starter
 

Hi Robert,

I hope you had a nice holiday.

Grateful for your support..

Thanks;

Bill

 
Posted : 19/09/2019 4:50 pm
(@Anonymous)
Posts: 0
New Member Guest
 

Hi Robert,

I likes the coding that you shared with Philip and Bill. It is really simple. Thank you for your sharing.

I am having a problem in combining 2 sub into 1. Could you please guide me what is the issue in the coding. The code are not able to execute. I would like to to have a coding to combine the 3 different workbook into one workbook and sorting the worksheet in the same workbook.

I have the code to combine 3 different workbook into one. And the code to sort the worksheet in same workbook. However, i have no idea how to add into one sub. Could you please help me? Thank you

Regards,

CY

 
Posted : 16/11/2019 12:07 pm
(@Anonymous)
Posts: 0
New Member Guest
 

Hi Robert or Bill,

Do you have chance to take a look at my questions? Or anyone can help me? Please? Thank you.

Regards,

CY

 
Posted : 19/11/2019 8:37 pm
Share: