To set the header of a worksheet, go to Page Setup > Header / Footer > Customize header. Let's assume that in the middle section, I want a title that is in cell A1 to appear. How can I do this?
To set the header of a worksheet, go to Page Setup > Header / Footer > Customize header. Let's assume that in the middle section, I want a title that is in cell A1 to appear. How can I do this?
Everything indicates that what I want is not possible without recourse to VBA ( link ); Apparently it would have to make a macro to populate the section of the respective header.
Sub HeaderFromA1()
ActiveSheet.PageSetup.LeftHeader = Range("A1").Value
End Sub
Hello! Unfortunately with the Excel Page Setup header / footer feature, it is not possible, but you get the same result with another feature without using VBA.
Hugs !! www.learnoffice.com.br