Barry Katcher
Well-known Member
- Joined
- Feb 25, 2002
- Messages
- 4,053
I have the following macro which inserts the full path and file name in a footer:
Sub InsertPathInFooter
ActiveSheet.PageSetup.LeftFooter =
ActiveWorkbook.FullName
End Sub
What can I add to it to then change the font size from 12 to 9? I tried recording a macro for Page Setup/Custom Footer/Font icon, etc. It does change the font on the worksheet, but I don't see any line of code in the macro that does the change.
Sub InsertPathInFooter
ActiveSheet.PageSetup.LeftFooter =
ActiveWorkbook.FullName
End Sub
What can I add to it to then change the font size from 12 to 9? I tried recording a macro for Page Setup/Custom Footer/Font icon, etc. It does change the font on the worksheet, but I don't see any line of code in the macro that does the change.