Excel - Insert the path and file name in a cell

Ask a question

To insert the path and file name into a cell:
  • Click to select the cell of your choice
  • Type in the following command in the formula bar and then press Enter.
    • =cell("filename")
  • This function returns the full path and file name of the active sheet.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team