[VBA ] 路徑問題
請問底下的程式碼
MsgBox CurDir (1)
ChDir "C:\" (2)
MsgBox CurDir (3)
ChDir "D:\" (4)
MsgBox CurDir (5)
----------執行結果如下--------
(1)C:\Documents and Settings\UserName\My Documents
(3)C:\
(5)C:\
為何第四式的設定無效呢?
謝謝喔!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.105.241.133
推
01/20 22:15, , 1F
01/20 22:15, 1F