- vba check if file exists in folder
- vba if file exists then delete
- check if file exists vb
- fileexists vba
- excel vba check if file is open
If Dir("Directory") <> "" ThenWhere:
Directory = complete path of the file
Note:
- Normally, we are using this to check if the same file name already existed or not before saving or replacing the file
- This is just to be cautious
- Next action is depending on your requirement. You could copy, open, delete, or replace the file
No comments:
Post a Comment