ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open a copy of xls file (https://www.excelbanter.com/excel-programming/389021-open-copy-xls-file.html)

Masa Ito[_2_]

Open a copy of xls file
 
Is there a way to open a file as a copy?

I would like to force a user to select a name for a file if they wish to
save - similar to opening from a template.

I am programming in VB.Net, and am launching the 'filename.xls' process
(process.start) - but I would like to avoid having the file 'locked' by the
user.

Thanks!

Jim Rech

Open a copy of xls file
 
You could open the file read only. The third argument of the Workbooks.Open
method.

Also you could copy the file and open that.

--
Jim
"Masa Ito" wrote in message
. 97.131...
| Is there a way to open a file as a copy?
|
| I would like to force a user to select a name for a file if they wish to
| save - similar to opening from a template.
|
| I am programming in VB.Net, and am launching the 'filename.xls' process
| (process.start) - but I would like to avoid having the file 'locked' by
the
| user.
|
| Thanks!




All times are GMT +1. The time now is 12:20 AM.

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