开发者

How to get file path of the file with the running-vba code

开发者 https://www.devze.com 2022-12-11 14:23 出处:网络
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

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?


You need

currentproject.Path
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号