Hi
this can only be done with VBA. Put the following code in your workbook
module (not in an standard module)
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim wkSht As Worksheet
For Each wkSht In Me.Worksheets
if LCase(wkSht.Name) = "alldata" then
With wkSht.PageSetup
.CenterHeader = wkSht.range("A1").value
End With
end with
Next wkSht
End Sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.