scripting:api:project:file-path-by-title

FilePathByTitle

Method of IProject

Resolve file by title

var strFileName = Project.FilePathByTitle(strTitle);
strFileName = Project.FilePathByTitle strTitle
BSTR strFileName;
HRESULT hr = Project.FilePathByTitle(strTitle, &strFileName);