countryfan_nt
Well-known Member
- Joined
- May 19, 2004
- Messages
- 765
Hello friends, hope all is well!
please help me with the code here please. Trying to place a custom footer, with a certain font size,
but I keep getting the font size in the footer (i.e. 1228 - Aug - 2018 18:16:07)
Please help me place only the date & time in the footer.
Thanks a lot in advance.
please help me with the code here please. Trying to place a custom footer, with a certain font size,
but I keep getting the font size in the footer (i.e. 1228 - Aug - 2018 18:16:07)
Please help me place only the date & time in the footer.
Thanks a lot in advance.
Code:
Sub FormatDate()
With ActiveSheet.PageSetup
datestring = Format(Now(), "DD - MMM - YYYY HH:MM:SS")
Sheets("Physician Contract").Select
ActiveSheet.PageSetup.LeftFooter = "&""times new roman"" & 12" & datestring
End With
End Sub