ThisWorkbook.Path is not the path of the .exe-file

norbert

New member
I made a .exe file out of my .xlsm-file. Now the vba-code “ThisWorkbook.Path” of the .exe-file does no longer return the pathname of the padlock .exe-file. How to get the pathname of the .exe-file within its VBA?
 
This problem is also explained in the user guide. We provide a VBA API call so that you can have ThisWorkbook.Path working again.
 
Back
Top