I am trying to format 22 worksheets all the same way using a loop with no success. Can you see what I am doing wrong?
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
WithActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = ""
.RightHeader = ""...