I want to let an Excel footer depend on the value of a particular cell (to differentiate between an "original" and a later print). However the following does not work in the WorkBook_BeforePrint event:
Any suggestions?
Code:
If ... Then
Worksheets("Audit").PageSetup.LeftFooter = "A"
Else
Worksheets("Audit").PageSetup.LeftFooter = "B"
End If