how to get name of file using vba code example Example: excel vba get the workbook full filename with path MsgBox ThisWorkbook.FullName