LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default Excel2000: Closing an Excel workbook automatically

Hi

I need an Excel workbook, which contains 4 ODBC queries, to be opened every
night, and to be closed after all queries are refreshed (The queries
retrieve some data from source restricted for most users, and save them in
tables. For every table, a non-dynamic named range is defined - so users can
use this workbook as source for their queries).

All queries are set to be refreshed on open automatically. Refreshing them
takes several seconds only. On this computer, I can set all queries to be
refreshed without confirmation, and there is no VBA code in workbook. I can
start the workbook at given time through Windows script, but is there some
simple way to close the same workbook p.e. 5 minutes later?


Thanks in advance!

--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


 
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
Set macro to run automatically when closing workbook? Wuddus Excel Discussion (Misc queries) 10 January 20th 15 03:39 PM
Find cell in Excel2000 workbook with link from another workbook? Mark4mmx Excel Discussion (Misc queries) 1 October 8th 08 12:55 PM
Closing only one excel workbook Carollea Excel Discussion (Misc queries) 3 March 28th 07 01:42 PM
Prevent open excel windows from automatically closing. Prevent Automatic Closing Excel Discussion (Misc queries) 1 April 10th 06 10:27 PM
closing excel after closing a workbook CWalsh[_2_] Excel Programming 3 January 21st 04 03:33 PM


All times are GMT +1. The time now is 10:36 PM.

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

About Us

"It's about Microsoft Excel"