ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Working with other files (https://www.excelbanter.com/excel-programming/296737-working-other-files.html)

steve

Working with other files
 
is thier a way using vba to get a list of all files in a
given directory, and coping one or more of those files in
that directory to another directory with out opening the
files?




Jim Rech

Working with other files
 
You can use the Dir function to get a list of files and the FileCopy
function to copy them. VB help has more on these functions.

--
Jim Rech
Excel MVP
"steve" wrote in message
...
| is thier a way using vba to get a list of all files in a
| given directory, and coping one or more of those files in
| that directory to another directory with out opening the
| files?
|
|
|




All times are GMT +1. The time now is 02:13 PM.

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