![]() |
Modifying formulas through code
I have a workbook which contains a summary worksheet and numerous other
worksheets. The contents of each of the worksheets are identical. The purpose of the summary worksheet is simply to sum the data in each of the corresponding cells for each worksheet. The problem arises because the actual number of worksheets is not finite. Users actually add a new worksheet each week based off a template worksheet. The worksheet are named with the week ending date (i.e 1-15-04) Is there a way to modify the formulas on the Summary worksheet through code to reflect the new worksheets that are added each week rather than having to manually modify the formulas every week? Secondly, there are also cells containing text data with general comments. Is it possible to copy the contents of this text data from the weekly worksheet to the Summary worksheet by copying into a specific cell, if the cell has text in it, copy it to the cell below it, etc. With each text entry in the Summary worksheet, the worksheet name the data came from should be inserted in the cell to the right of the text. Any guidance one could offer would be greatly appreciated. Rick |
All times are GMT +1. The time now is 10:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com