Existiert ein Ordner? — VBA Excel Tipps & Tricks

Mit diesem Code, kann man schnell und einfach überprüfen, ob ein Ordner am angegebenen Pfad, existiert. Sub FolderExists() Dim fso Dim strFolder As String folder = “C:\My Documents” ‘ change to match the folder path Set fso = CreateObject(“Scripting.FileSystemObject”) if fso.FolderExists(strFolder) Then MsgBox strFolder & ” is a valid folder/path.”, vbInformation, “Path Exists” Else MsgBox […]

Existiert ein Ordner? — VBA Excel Tipps & Tricks
search previous next tag category expand menu location phone mail time cart zoom edit close