File(string path)

creates a reference to a file that exists on your local machine.


  • The File function is designed to be used in an Excel spreadsheet.
  • The argument path is the full file path of a file on your local machine.
  • The File function is typically called through the File Path menu item.
  • If there is no file found at the selected file path, an Excel error will be shown.