In VB, you can put filenames, tab names, time & date, etc. in headers and footers using formatting codes (&F for filename, &A for tab name, etc.).
Is there a code for the file path, or is there some other way to insert the path? I have 2003.
2007-09-24
03:16:47
·
2 answers
·
asked by
aladou
5
in
Computers & Internet
➔ Software
My code looks like this, and I'd like to also include the path before the filename (&F):
With ActiveSheet.PageSetup
.LeftFooter = "&F - &A"
.CenterFooter = "&P"
.RightFooter = "&D, &T"
End With
2007-09-24
03:21:33 ·
update #1
computer guy, thanks, but when you do it "manually" through view headers/footers, it shows [Path], which doesn't work as a format code in VB.
2007-09-24
03:30:14 ·
update #2