I have 18 departments each of these have a workbook
containing 1 sheet for each month of the year and an annual
sheet.
The company now want to add another column to each sheet
to calculate an average
Can I use Vb to go through each sheet, bearing in mind that
they could have 28, 30 or 31 days, and add a formula to the
end?
Oh, the sheets are protected as well
I am happy that I can record a macro to implement the changes but have no idea how to loop through each sheet, work out the number of days (and therefore the start column) for the workbook.
Each sheet is named from April to March if that helps
Thanks for any help in advance
Neil Neil Berryman
IT Trainer
neil_berryman@btopenworld.com
containing 1 sheet for each month of the year and an annual
sheet.
The company now want to add another column to each sheet
to calculate an average
Can I use Vb to go through each sheet, bearing in mind that
they could have 28, 30 or 31 days, and add a formula to the
end?
Oh, the sheets are protected as well
I am happy that I can record a macro to implement the changes but have no idea how to loop through each sheet, work out the number of days (and therefore the start column) for the workbook.
Each sheet is named from April to March if that helps
Thanks for any help in advance
Neil Neil Berryman
IT Trainer
neil_berryman@btopenworld.com