ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   File copy (https://www.excelbanter.com/excel-discussion-misc-queries/64695-file-copy.html)

Prozor PVC sistemi d.o.o.

File copy
 
Need help

drv="W" ' Map drive connection to server
src=Drv & ":\Work\Adr.xls"
dstn="C:\Work\Adr.xls"
FileCopy src,dstn

Problem is that file on server "Adr.xls" is open
When I want to copy file "Adr.xls" from server to local computer an error
ocures
File on server is always open

Is there some other command for this action

Thanks in advance

Alan



Gary L Brown

File copy
 
ALREADY ANSWERED IN ONE OF YOUR MANY CROSS-POSTS.
--
Gary Brown

"Prozor PVC sistemi d.o.o." wrote:

Need help

drv="W" ' Map drive connection to server
src=Drv & ":\Work\Adr.xls"
dstn="C:\Work\Adr.xls"
FileCopy src,dstn

Problem is that file on server "Adr.xls" is open
When I want to copy file "Adr.xls" from server to local computer an error
ocures
File on server is always open

Is there some other command for this action

Thanks in advance

Alan





All times are GMT +1. The time now is 06:28 PM.

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