ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to make a Macro Iterate (https://www.excelbanter.com/excel-programming/301523-how-make-macro-iterate.html)

Elisha

How to make a Macro Iterate
 
Hello,

I'm using Excel 2002 and I want to create a macro that iterates through worksheets using the same cell ranges to generate identically formatted graphs of the data in each sheet.

Is it possible to create such a Macro, and if so, how do I do it?

Elisha

Bob Phillips[_6_]

How to make a Macro Iterate
 

For Each sh In Activeworkbook.Worksheets
' do you bit with sh.Range("A1:H10") say
Next sh

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Elisha" wrote in message
...
Hello,

I'm using Excel 2002 and I want to create a macro that iterates through

worksheets using the same cell ranges to generate identically formatted
graphs of the data in each sheet.

Is it possible to create such a Macro, and if so, how do I do it?

Elisha





All times are GMT +1. The time now is 01:17 AM.

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