LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default copy folder

Hi
I try to use this
in a loop
"tt" = kursust and "kur1= the numbers in the loop

Set fso5 = CreateObject("Scripting.FileSystemObject")
Set folderobj5 = fso5.GetFolder("\\server\kursister$\" & tt & tal & kur1)
fso5.CopyFolder folderobj5, "\\server\vaerksted$\" & tt & tal & kur1

What i want is to copy all from
\\server\kursister$\" & tt & tal & kur1)
to
\\server\vaerksted$\" & tt & tal & kur1

Hope someone can help

alvin

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy a folder in VB Brettjg Excel Discussion (Misc queries) 2 March 12th 07 02:34 PM
Copy Files to other folder TISR Excel Programming 4 April 1st 06 08:43 AM
Copy folder and paste to another folder ddiicc Excel Programming 4 July 21st 05 02:47 PM
How to copy 30 csv files from a folder to another folder ddiicc Excel Programming 1 July 17th 05 09:42 AM
Create Folder / Copy Folder / Replace Murray Outtrim[_2_] Excel Programming 0 February 24th 04 06:40 PM


All times are GMT +1. The time now is 09:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"