excel vba get the path of current workbook

The solution for “excel vba get the path of current workbook” can be found here. The following code will assist you in solving the problem.

‘VBA function to retrieve this workbook’s full path:

Function FullPath()
With ThisWorkbook
FullPath = .Path & Application.PathSeparator & .FullName
End With
End Function


MsgBox FullPath

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts