Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default 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,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default 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,



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to Close a specific workbook. Dmad11 Excel Discussion (Misc queries) 1 July 7th 09 09:28 PM
How do I jump from the 1st worksht in a workbk 2 the very last shauno Excel Worksheet Functions 3 October 11th 06 09:43 AM
How to close specific workbook not all active workbooks? Bon Excel Programming 1 January 20th 06 02:49 PM
Open Workbk/Close Workbk Done Asynchronously? SidBord Excel Programming 0 April 29th 04 06:45 PM
Excel VBA-How to close all open workbooks except one specific? waveracerr[_13_] Excel Programming 3 February 13th 04 06:53 PM


All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"