- 帖子
- 4901
- 主題
- 44
- 精華
- 24
- 積分
- 4916
- 點名
- 142
- 作業系統
- Windows 7
- 軟體版本
- Office 20xx
- 閱讀權限
- 150
- 性別
- 男
- 來自
- 台北
- 註冊時間
- 2010-4-30
- 最後登錄
- 2026-7-16
                
|
回復 1# luke
看不懂你這個函數的作用
若要計算檔案類型的數量,試試- Public Function FilesPathFind(FindPath$, FindFileName$)
- Dim fs$
- fs = Dir(FindPath & FindFileName)
- Do Until fs = ""
- FilesPathFind = FilesPathFind + 1
- fs = Dir
- Loop
- End Function
複製代碼 |
|