Using VBA to set footer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following code to setup a footer:

Sub DateFooter()

With Worksheets("sheet2").PageSetup
.LeftFooter = UCase(Format(Date, "dddd mmmm d, yyyy"))
End With

End Sub


In the code, how do I make it Bold Arial 10?

Thank you for your help.

Steven
 
--

HTH

RP
(remove nothere from the email address if mailing direct)
 
--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Sub DateFooter()
With ActiveSheet.PageSetup
.LeftFooter = "&""Arial,Bold""&10" & UCase(Format(Date, "dddd mmmm
d, yyyy"))
End With
End Sub

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

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.

Ask a Question

Back
Top