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