Excel VBA - How to Check if File Exists (Dir function)
Автор: InAnOffice
Загружено: 2014-12-02
Просмотров: 15125
Описание:
Excel VBA Check to see if a file exists using Dir function
The code used in this video:
Sub CheckIfFileExists()
Dim MyFile As String
MyFile = "C:\Reports\24 Nov 2015.xlsx"
If Dir(MyFile) "" Then
MsgBox "File exists"
Else
MsgBox "File does not exist"
End If
End Sub
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: