Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
lee lee is offline
external usenet poster
 
Posts: 184
Default Updating Multiple Worksheets Simultaneously

I have a number of template worksheets that people enter data into in
contained in several workbooks. What is the best way to make changes to
these templates for necessary updates all at once like adding a cell w/ data
validation or a row of information etc.. I have used the Group function to
try and do some of this but it does not work for everything and is somewhat
tedious.

Do folks typically develop Macros to do this?? If so are there any examples
out there of some typical Macros to address this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Updating Multiple Worksheets Simultaneously

Hi Lee,

Will you be making the same change to every workbook?

If so, code exists to open everywork in a folder, call another macro (which
will make the changes you want) save, close and move onto the next one.

Thanks,

Simon

Lee wrote:
I have a number of template worksheets that people enter data into in
contained in several workbooks. What is the best way to make changes to
these templates for necessary updates all at once like adding a cell w/ data
validation or a row of information etc.. I have used the Group function to
try and do some of this but it does not work for everything and is somewhat
tedious.

Do folks typically develop Macros to do this?? If so are there any examples
out there of some typical Macros to address this.


  #3   Report Post  
Posted to microsoft.public.excel.misc
lee lee is offline
external usenet poster
 
Posts: 184
Default Updating Multiple Worksheets Simultaneously

Each workbook for each team contains several different types of forms each
form is on a worksheet. Each team enters unique information on each
form/worksheet. There are multiple copies of the same form/worksheet within
a workbook. If the form changes I would like to be able to update it and
carryover the existing information without having to retype it in. The cell
location of where the information is contained will not change.

"smw226" wrote:

Hi Lee,

Will you be making the same change to every workbook?

If so, code exists to open everywork in a folder, call another macro (which
will make the changes you want) save, close and move onto the next one.

Thanks,

Simon

Lee wrote:
I have a number of template worksheets that people enter data into in
contained in several workbooks. What is the best way to make changes to
these templates for necessary updates all at once like adding a cell w/ data
validation or a row of information etc.. I have used the Group function to
try and do some of this but it does not work for everything and is somewhat
tedious.

Do folks typically develop Macros to do this?? If so are there any examples
out there of some typical Macros to address this.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Updating Multiple Worksheets Simultaneously

Lee,
If this is going to happen often, you could set up a Macro that you could
modify to use when required. Easiest way to get started is just to record
some dummy macro, making sure to place it into your Personal Macro workbook
(created by Excel - personal.xls) Do something simple like start recording a
macro, select another cell, stop recording, then use Tools | Macro | Macros,
select the one you recorded and choose [Edit]

Then you could modify the code in it to something similar to this:
Dim anySheet as Worksheet
For Each anySheet In ActiveWorkbook.Worksheets
anySheet.Range("B55") = "New Entry for cell B55"
anySheet.Range("G99") = 3.14159 ' put pi into G99
Next

Once you've made the edits to the macro that you need to, you open each
workbook that the changes need to be applied to and simply run that macro.
Remember that macros are very literal minded, so in this case, those changes
would be written to every worksheet in the active workbook. If there were
sheets you did not want the changes made to, you could add some exception
handling to it like:

For Each anySheet In ActiveWorkbook.Worksheets
If anySheet.Name < "Not Me" And anySheet.Name<"Me Either" Then
anySheet.Range("B55") = "New Entry for cell B55"
anySheet.Range("G99") = 3.14159 ' put pi into G99
End If
Next

And sheets named "Not Me" and "Me Either" would be skipped.
"Lee" wrote:

Each workbook for each team contains several different types of forms each
form is on a worksheet. Each team enters unique information on each
form/worksheet. There are multiple copies of the same form/worksheet within
a workbook. If the form changes I would like to be able to update it and
carryover the existing information without having to retype it in. The cell
location of where the information is contained will not change.

"smw226" wrote:

Hi Lee,

Will you be making the same change to every workbook?

If so, code exists to open everywork in a folder, call another macro (which
will make the changes you want) save, close and move onto the next one.

Thanks,

Simon

Lee wrote:
I have a number of template worksheets that people enter data into in
contained in several workbooks. What is the best way to make changes to
these templates for necessary updates all at once like adding a cell w/ data
validation or a row of information etc.. I have used the Group function to
try and do some of this but it does not work for everything and is somewhat
tedious.

Do folks typically develop Macros to do this?? If so are there any examples
out there of some typical Macros to address this.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMif or SUMproduct across multiple worksheets? Eric Shamlin Excel Worksheet Functions 1 September 29th 05 09:55 AM
Line chart from multiple worksheets Paul B. Charts and Charting in Excel 2 September 21st 05 11:46 PM
Adding and Naming Multiple Worksheets Byron Excel Worksheet Functions 6 September 8th 05 02:52 AM
Update multiple worksheets Lizz45ie Excel Discussion (Misc queries) 0 May 31st 05 09:21 PM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM


All times are GMT +1. The time now is 04:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"