Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

Quickly insert file name and file path into cell, header or footer in Excel

Author Xiaoyang Last modified

Kutools for Excel

Boosts Excel With 300+
Powerful Features

Sometimes, we may need to inserting current Excel file (workbook) name, the file saving path and worksheet name in a cell, header or footer in Excel. Normally, we have to use formulas to insert workbook name, worksheet name or the file saving path into a cell, and if we need to insert that information into the header or footer, we should use Header & Footer function. That's too complicated! But with Kutools for Excel's Insert Workbook Information utility, we can insert current file information (such as current worksheet name, file name, file saving path, user name, current date and time and so on) into a cell, header or footer in Excel quickly.

Insert workbook name, the file saving path, worksheet name or user name into a cell, header or footer


Click Kutools Plus > Workbook > Insert Workbook Information. See screenshots:

shot-workbook-information-1
kutools-arrow-right
shot insert workbook information

Insert workbook name, the file saving path or, worksheet name or user name into a cell, header or footer

In the Insert Workbook Information dialog box, specify information you want to insert from Information, and then choosing the position that you want to insert the information into, you can specify to insert the workbook information to a Range, Header or Footer.

For example, I will insert the workbook path & name in header of the worksheet as follows:

1. In the Insert Workbook Information dialog box, check the Workbook path & name from Information, and then choose Header from the Insert at, and you can specify Center, Left or Right of header to insert the workbook information at as well.

shot insert workbook information1

2. Then click Ok. The workbook saving path and workbook name have been inserted in the Header of current worksheet. You can preview it from View > Page Layout.

shot-insert-file-path-4

Note:

You can also insert the last saved or modified timestamp of a workbook in a cell, header or footer of current worksheet by selecting the Date modified option in the Insert Workbook Information dialog box


Demo: Quickly insert file name and file path into cell, header or footer in Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon