Say, I\'m writing a VBA inside my excel file sample.xls. Now I want to get the full path of sample.xls in my VBA. How do I do it?
If you need path only this is the most straightforward way:
PathOnly = ThisWorkbook.Path