ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   print file path and location in a footer (https://www.excelbanter.com/new-users-excel/30781-print-file-path-location-footer.html)

be

print file path and location in a footer
 
I would like to print the file path and default location in a footer on my
file but the footer does not have the icon for this command how do i get this
icon ? please

Nick Hodge

Your only way is to upgrade to Excel XP (2002) or above.

You can also put some code in your personal.xls and run it. The code below
puts the full path and fie name into the right footer of the activesheet
(Must be saved for the first time our their is no path!)

Sub FileNameInFooter()
Dim FName As String
FName = ActiveWorkbook.FullName
ActiveSheet.PageSetup.RightFooter = FName
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"be" wrote in message
...
I would like to print the file path and default location in a footer on my
file but the footer does not have the icon for this command how do i get
this
icon ? please




gls858

be wrote:
I would like to print the file path and default location in a footer on my
file but the footer does not have the icon for this command how do i get this
icon ? please

Page setup Header/Footer instead of hitting the custom button check
the dropdown box. One of the default selections should be the path.

gls858


All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com