Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default automate open/update/close Excel

Is there a way to automate opening, updating a query (i.e. hit the
"!"), saving, and exiting Excel?

I would prefer a cmd type script I can schedule to run during off
hours, but I'm open to other suggestions.

I have a spreadsheet we use to track metrics for bug reports. The
spreadsheet was created using an ODBC data base query which can be
easily updated by opening the spreadsheet and updating the query. I
need a way to automate the update on a regular basis. The query takes
10+ minutes so I would like to do it at night instead of having to wait
for the query every time I open it...not to mention I have others who
use it and don't have the ODBC tool set available.

I would guess the solution would be a combination of a cmd script along
with an Excel macro. Can an Excel macro do a file exit (and save)?
Thanks

-rosen

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
Open, update and convert 2007--2003 then close without any prompt jkeogh Excel Discussion (Misc queries) 0 October 14th 08 05:13 PM
Open and Close a Workbook to Update Links [email protected] Excel Discussion (Misc queries) 3 July 7th 08 07:55 PM
How to open a list of excel files and get update, then close it? Eric Excel Discussion (Misc queries) 4 June 10th 07 08:58 AM
automate open/update/close Excel rosen Excel Programming 0 December 21st 04 04:07 PM
Automate open file, update links, run macro, close and save file Geoff[_7_] Excel Programming 2 August 26th 03 10:13 PM


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

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"