Error MoveFile.![]()
Please Login or Register to view this content.
file does not move me, can you help me?
Error MoveFile.![]()
Please Login or Register to view this content.
file does not move me, can you help me?
What kind of error is the code producing? Can you attach your workbook?
For starters.
MoveFile is part of the FileSystemObject so
instead of![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.
it gives me no mistake the problem that does not move the files, where I'm wrong in the code
ff.MoveFile Source:=origineFile.Path & "\", Destination:=fs.Path & "\"
![]()
Please Login or Register to view this content.
Error:
x.JPG
invalid file name or number
run-time error 52
I solved
1) moved the files -> resolved
2) renamed the main folder -> resolved
3) delete the sub-folders -> not solved
you can help me?
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
I always mistake in fso.DeleteFolder subfs
it crashes is not go ahead for deleting sub folders
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks