Excel VBA: Check If Folder Exists (DIR) - If Not, Create Folder
Вставка
- Опубліковано 25 лип 2020
- In this video, you will learn VBA to Check If Folder Exists (DIR) - If Not, you can create a new Folder with the help of VBA.
Here is the mic I have been using for my audio recordings: amzn.to/2PnzqRH
Thank you
when i make this micro it give me error plz help or copy and paste this vba
Ok good, but I noticed that when I use only pathname variable; the code runs successfully with no need to foldername variable or DIR function!
Dim PathName As String
PathName = "C:\Test"
If PathName vbNullString Then........