Alright, so I basically have two problem in one post:
1. Translating this VBA code. This copies the data of different sheets to one summary sheet.
If Sheet.Name <> Me.Name Then If sheet name
If Sheet.Cells(Rows.Count, 1).End(xlUp).Row <> 1 Then
Sheet.Range(Sheet.Cells(2, 1), Sheet.Cells(Sheet.Cells(Rows.Count, 1).End(xlUp).Row, 10)).Copy Destination:=Me.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0)
2. My other problem is to modify this code so that I have Sheet Names on First Column of Summary Sheet with "Sum" of three different columns of each sheet against that name. I have 100+ Sheets in the file and will need the summary sheet to automatically adjust for the new sheets inserted. You may suggest an entirely new solution or a modification of this.
I would prefer if I have the control as to when this code is executed and NOT every time summary sheet is activated.
I am using Excel 2007.
Thanks for your help in advance.
FinPro.
1. Translating this VBA code. This copies the data of different sheets to one summary sheet.
If Sheet.Name <> Me.Name Then If sheet name
If Sheet.Cells(Rows.Count, 1).End(xlUp).Row <> 1 Then
Sheet.Range(Sheet.Cells(2, 1), Sheet.Cells(Sheet.Cells(Rows.Count, 1).End(xlUp).Row, 10)).Copy Destination:=Me.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0)
2. My other problem is to modify this code so that I have Sheet Names on First Column of Summary Sheet with "Sum" of three different columns of each sheet against that name. I have 100+ Sheets in the file and will need the summary sheet to automatically adjust for the new sheets inserted. You may suggest an entirely new solution or a modification of this.
I would prefer if I have the control as to when this code is executed and NOT every time summary sheet is activated.
I am using Excel 2007.
Thanks for your help in advance.
FinPro.