>
Dim str As Stringstr = IIf(Len() > 3, & "" & ame & "", & ame & "") str 就是EXE檔案的路徑了。搞這麼複雜是因爲當EXE檔案在根目錄下的時候, 是帶有“”,不在根目錄下的時候沒有。
圖文推薦