ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Automatic updating of a rollup worksheet when a new worksheet is a (https://www.excelbanter.com/excel-worksheet-functions/103577-automatic-updating-rollup-worksheet-when-new-worksheet.html)

Marc A.

Automatic updating of a rollup worksheet when a new worksheet is a
 
Background:
There is a "rollup" spreadsheet that contains a high-level look at

different projects that are going on.
Each project is on it's own worksheet in the same workbook as the

rollup worksheet
All project worksheets are formatted exactly the same way and

contain exactly the same types of data
The data on the rollup spreadsheet is pulled from all of the project

worksheets.

The Problem:
When a user adds a new project to the workbook (essentially adding a new
worksheet), how do i get the rollup worksheet to update automatically with
the information from the new worksheet?

Otto Moehrbach

Automatic updating of a rollup worksheet when a new worksheet is a
 
Basically you would loop, with VBA, through all the worksheets in the file,
skipping any worksheet not pertinent, like the "rollup" worksheet. Within
this loop you would check if the sheet name is already in the rollup sheet
and if not, add it. Then copy all the things you want copied. Please post
back if you need more than this. HTH Otto
"Marc A." <Marc wrote in message
...
Background:
There is a "rollup" spreadsheet that contains a high-level look at

different projects that are going on.
Each project is on it's own worksheet in the same workbook as the

rollup worksheet
All project worksheets are formatted exactly the same way and

contain exactly the same types of data
The data on the rollup spreadsheet is pulled from all of the project

worksheets.

The Problem:
When a user adds a new project to the workbook (essentially adding a new
worksheet), how do i get the rollup worksheet to update automatically with
the information from the new worksheet?





All times are GMT +1. The time now is 08:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com