Hi,
Well after a huge amount of wasted time researching & banging my head against the wall.
This is what I have come up with to moveFolders either on the same drive or to different drives.
Im sure its deficient in many manners so no Guarantees.
Could be enhanced with a filepicker or as a Function & probably a few other ways Im sure.
I got the Boilerplate for this here & didn’t really change much, but it didn’t run out the box & required some tweaking [I think casue its meant for Access], so I am taking the liberty to ReAuthor it & post it here. Hopefully somebody like me will find this post before they spend hours of wasted time only to comeback & do it this way. lolz…. [Im such a hack]
Have fun & Enjoy hope it saves you a few hours.
'+--------------------------- Other useful Links ----------------------------------------------------------------------
I would have tried this its for VB6 but, I was mental, oh I mean mentally exhausted with this issue by the time I found it. Maybe you can get it to work GoodLuck.
Read the very endNote @ the bottom of this page to help you get over it quickly.
Heres another Mothod by Ron de Bruin
Another FSO tut
Windows API: here they are moving Files, but I would think this could be easily modified to just move folders. I dont think it would be a fools errand either.
Video Tut: FSO
Folders and File Handling in Excel VBA
File and Folder Procedures
With native VBA functions & Move files to another folder by VBA
Well I guess thats it.
Peace
Bookmarks