本文包含範例決定特定的檔案是否存在的Visual Basic 應用程式程序(或巨集)。 ... 的詳細資訊,按一下[Office 小幫手] 在Visual Basic 編輯器]、 輸入dir]、 按一下[搜尋], 然後按一下[檢視Dir 函數。
support.microsoft.com