ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Close specific workbk (https://www.excelbanter.com/excel-programming/387482-close-specific-workbk.html)

Junior728

Close specific workbk
 
Hi,

How do i call to close a specific workbook instead of the current active
workbk, because most of the books they taught is to close current active
workbk.
i tried workbk.close(filename), but it does not work.

thanks,

papou

Close specific workbk
 
Hi
To close and save specific workbook already open:
Workbooks("book1.xls").Close True

HTH
Cordially
Pascal

"Junior728" a écrit dans le message de
news: ...
Hi,

How do i call to close a specific workbook instead of the current active
workbk, because most of the books they taught is to close current active
workbk.
i tried workbk.close(filename), but it does not work.

thanks,





All times are GMT +1. The time now is 09:21 PM.

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