问题
I want to get the folder path from the file who is running the vba-code. For example: the vba-code is in the file C:\myfolder\file.accdb and I want the vba-code to return C:\myfolder\
Is that possible?
回答1:
You need
currentproject.Path
来源:https://stackoverflow.com/questions/1729752/how-to-get-file-path-of-the-file-with-the-running-vba-code