Not to rehash an old topic, but does someone have some good VBA code to insert the current filename in a (1) header/footer, and/or a (2) cell?
Thanks,
Jeff
Not to rehash an old topic, but does someone have some good VBA code to insert the current filename in a (1) header/footer, and/or a (2) cell?
Thanks,
Jeff

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
Just search for 'filename in header' and you will find many previous posts dealing with the subject. John Walkenbach has an interesting add-in that you can find <A target="_blank" HREF=http://www.j-walk.com/ss/excel/files/addpath.htm> here </A>.
Something like this:
<pre>Worksheets("Sheet1").PageSetup.centerheader = ActiveWorkbook.FullName
</pre>
Legare Coleman