- All sheets would have the A1 text from cell A1 in Sheet 1?I'm not sure where to put that from what I'm thinking.
Example: Sheet 1 would be where I enter text in A1 to show up in left header. All sheets then have A1 text in the left header.
Try something like this then.Hi Peter
The first choice.
Thanks
Sub AddHeaders()
Dim ws As Worksheet
For Each ws In Worksheets
ws.PageSetup.LeftHeader = Sheets("Sheet1").Range("A1").Text
Next ws
End Sub
Sub AddHeaders()
Dim ws As Worksheet
For Each ws In Worksheets
ws.PageSetup.LeftHeader = Sheets("Sheet1").Range("A1").Text
ws.PageSetup.RightHeader = Sheets("Sheet1").Range("B1").Text
Next ws
End Sub