ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copy foo.xls whilst it's opened by Excel - are there problems ? (https://www.excelbanter.com/excel-programming/403099-copy-foo-xls-whilst-its-opened-excel-there-problems.html)

northof40

copy foo.xls whilst it's opened by Excel - are there problems ?
 
Hi - I want to develop a program to repeatedly copy a Workbook file
whilst it's opened by Excel (let's say it will do it every 10
seconds).

I've tried this out myself (doing the copies 'by hand' ) and there
doesn't seem to be a problem but are there circumstances in which my
program would not be able to complete the copy ?

I know you cannot delete a file which Excel has open. Is there
anything I should be concerned about where I setup a process which
repeatedly copies an Excel workbook which is in use by Excel ?

thanks

richard.


carlo

copy foo.xls whilst it's opened by Excel - are there problems ?
 
It shouldn't be a problem to copy the file.
But beware, that the file only contains the data since the last save!

hth

Carlo

On Dec 21, 12:51*pm, northof40 wrote:
Hi - I want to develop a program to repeatedly copy a Workbook file
whilst it's opened by Excel (let's say it will do it every 10
seconds).

I've tried this out myself (doing the copies 'by hand' ) and there
doesn't seem to be a problem but are there circumstances in which my
program would not be able to complete the copy ?

I know you cannot delete a file which Excel has open. Is there
anything I should be concerned about where I setup a process which
repeatedly copies an Excel workbook which is in use by Excel ?

thanks

richard.




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

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