print file path and location in a footer

B

be

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
 
N

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
(e-mail address removed)
 
G

gls858

be said:
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
 

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

Top