It is hard sometimes telling how much experience a person has with
programming and VBA.
The code (program or macro what ever you want to call it) gets put into a
VBA module. This is accomplished using the VBA editor.
1) From worksheet menu - Tools - Macro - Visual Basic Editor
2) From VBA menu - Insert Module
3) Copy code from posting (starts with Sub summary() and ends with END SUB)
and paste into VBA module.
4) Check if code is inserted properly by compiling the code. Frm VBA menu
Debug - Compile VBA project
5) You need to check your security setting to make sure it is set to medium.
From Worksheet menu Tools - Macro - Security. Make sure Medium is set.
Medium will ask when workbook is opened if you want to enable macros. Enter
yes for this workbook
6) From worksheet menu, Insert Worksheet
7) Rename worksheet to summary, On bottom of new worksheet right click tab
(should say Sheet followed by a number) . Select Rename and type SUMMARY.
8) Run macro from worksheet menu. Tools - Macro - Macros - Summary.
The code will copy the entire last row from each worksheet. Doesn't matter
if you have two columns of data or 200 columns of data it will still work.
the only problem is if the last the last row of doesn't have data in column
A. Can change the code easily if the last row has data in another column.
The code doesn't clear the summary worksheet. You should clear the summary
worksheet before running macro. I can modify the code to automatically clear
the summary worksheet if necessary. I also don't know if you want to have
multiple summary worksheets so you can keep backups. The code checks every
sheet in the workbook, but skips the Summary worksheet when copying the last
row. I can modify the code to look for any worksheet starting with Summary
so you can have backups like Summary 10_01_07, Summary 10_02_07. Right now
the code skips the worksheet called summary and only summary.