What version of Excel are you using? If Excel 2002 or 2003 then you
don't need a macro anymore. Go to File/Page Setup, select
Header/Footer and in the Custom Header or Custom Footer you'll find
&[Path]&[File]. The icon looks like a folder.
I can create a macro for you if you are using an earlier version so
post back if you need it.
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.
~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
Word FAQ:
http://mvps.org/word
TechTrax eZine:
http://mousetrax.com/techtrax/
MVP FAQ site:
http://mvps.org/