Quickly insert file name and file path into cell, header or footer in Excel
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:
![]() |
![]() |
![]() |
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.
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.
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
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2021, 2019, 2016, 2013, 2010, 2007 and Office 365.
Kutools for Excel
The functionality described above is just one of 300 powerful functions of Kutools for Excel.
Designed for Excel(Office) 2021, 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 30 days.