You can put the MACRO in the 'This Workbook' VBE module as a Before Print Sub. It will then print the footer without having to click on a command button.
Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftFooter = "&F &A"
End Sub
You can change LeftFooter to RightFooter or CenterFooter
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.