79437450

Date: 2025-02-13 18:54:30
Score: 1.5
Natty:
Report link

OK, so it's 2025 now - and it couldn't be any easier - just use the correct logic using the following:

dim fso = CreateObject("Scripting.FileSystemObject")
if not fso is nothing then
   if not fso.FolderExists("TheFolderYouWantToExist") then
      fso.CreateFolder("TheFolderYouWantToExist")
   end if
   '....and so on....
end if

REFERENCE : https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/filesystemobject-object

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SlaveOfRighteousness