ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Workbooks.Open problem (https://www.excelbanter.com/excel-programming/348091-workbooks-open-problem.html)

Xav[_2_]

Workbooks.Open problem
 
When I use this method iit opens the file pass by variable and add a
"1".
For instance Test.xls becomes Test1.xls and basically I am manipulating
another excel file created from the Test.xls orginal one. If I try to
use the Save method I got an error saying the file already exists and
if I want to overwrite it. Any idea?


Philip

Workbooks.Open problem
 
check if the file is read-only on disk...

HTH

Philip

"Xav" wrote:

When I use this method iit opens the file pass by variable and add a
"1".
For instance Test.xls becomes Test1.xls and basically I am manipulating
another excel file created from the Test.xls orginal one. If I try to
use the Save method I got an error saying the file already exists and
if I want to overwrite it. Any idea?



Rookie 1st class

Workbooks.Open problem
 
Are you sure it isn' an .xlt?
that is how templates are named.
Lou


"Philip" wrote:

check if the file is read-only on disk...

HTH

Philip

"Xav" wrote:

When I use this method iit opens the file pass by variable and add a
"1".
For instance Test.xls becomes Test1.xls and basically I am manipulating
another excel file created from the Test.xls orginal one. If I try to
use the Save method I got an error saying the file already exists and
if I want to overwrite it. Any idea?




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

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