推 fumizuki:請按Ctrl+G 下面會多一個視窗... 02/16 07:26
不是很了解 Debug.Print
1.作用是什麼
2.什麼時使用
舉個例子好了
Dim fs As New FileSystemObject
Dim fd As Folder, Path as String
Set fd = fs.GetFolder(Path)
Debug.Print fd.Size
^^^^^^^^^^^這句話的意思
是不是當 fd.Size 出現錯誤時
把錯誤內容印出在螢幕上
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.166.76.233