ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Creating and Naming a Folder and populating it with files (https://www.excelbanter.com/excel-programming/370913-creating-naming-folder-populating-files.html)

Myles[_79_]

Creating and Naming a Folder and populating it with files
 

How can I, using VBA in Excel, create a New Folder, rename same, and
transfer/copy some .xls files from another Folder to the newly created
folder?

TIA

Myles


--
Myles
------------------------------------------------------------------------
Myles's Profile: http://www.excelforum.com/member.php...o&userid=28746
View this thread: http://www.excelforum.com/showthread...hreadid=573527


Tushar Mehta

Creating and Naming a Folder and populating it with files
 
In article ,
says...

How can I, using VBA in Excel, create a New Folder, rename same, and
transfer/copy some .xls files from another Folder to the newly created
folder?

Search XL VBA help for the following (in each case, exclude the quotes):
"make directory"
"rename directory"
"copy file"
In each case, when looking at the result of the search, you are interested
in a *statement* and not a method or a property.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions


All times are GMT +1. The time now is 10:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com