Wie schaut denn dest bei dir aus?
Zitat:
If source contains wildcards or destination ends with a path separator (****), it is assumed that destination specifies an existing folder in which to move the matching files. Otherwise, destination is assumed to be the name of a destination folder to create. In either case, three things can happen when an individual folder is moved:
-
If destination does not exist, the folder gets moved. This is the usual case.
-
If destination is an existing file, an error occurs.
-
If destination is a directory, an error occurs.
https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/movefolder-method
|