ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How can I force the file to over write the existing file (https://www.excelbanter.com/excel-programming/370657-how-can-i-force-file-over-write-existing-file.html)

Ed[_29_]

How can I force the file to over write the existing file
 
I have the follow code which works fine unless a file of that name already
exists.
wbkNew.SaveAs sFileName

How can I force the file to over write the existing file.

Ed




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

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