View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed123 Ed123 is offline
external usenet poster
 
Posts: 3
Default Selecting & formating worksheets

I have a macro to select worksheets in a workbook but it will only format the
active worksheet and not all:
Sub FormatWS
Dim WS As Worksheet

For Each WS In ThisWorkbook.Worksheets
With ActiveSheet.PageSetup
.LeftHeader = ""
....................etc
End With
Next WS
End Sub

Any ideas gratefully received.