select all sheets?
no need to select.
Dim sht As Worksheet
For Each sht In ActiveWorkbook.Worksheets
sht.PageSetup.LeftHeader = "HEADER TEXT")
Next sht
"MikeF" wrote:
I have a small macro that reworks the headers and footers in Excel.
But it works only on the active sheet.
What code can I put before it to "select all sheets" in the workbook?
Thanx,
- Mike
|