应用:Excel
Left(ThisWorkbook.Path, InStrRev(ThisWorkbook.Path, "\") - 1)
我需要从Workbook Path返回至少2个文件夹.
我不能使用像"C:/ Folder1"这样的路径,因为应用程序将被多次移动.
excel vba
excel ×1
vba ×1