Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Automating requery

My workbook is set to automatically refresh on open from an MS Query I
created based on an ODBC source. However, it is static data if the source MS
Query itself does not automatically requery or rerun and save itself from the
linked ODBC source.
Is it possible via macro or some other code to make it rerun the MS Query,
save the results, and then return the dataset to my workbook when I open it?
As it is now, I first have to open the MS Query, rerun it, save and exit
before opening the workbook in Excel. I have a growing number of workbooks
(tied to different queries) that function in this way and would like to not
have to perform the extra steps. Please forgive if I have overlooked
anything that's already available in Excel or MS Query. Any assistance is
much appreciated.
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
automating jmp thru excel [email protected] Excel Programming 3 October 4th 05 07:53 PM
Automating using VBA Automate my database Excel Worksheet Functions 1 September 1st 05 01:51 PM
Reformatting of cells on requery of sql source needhelp Excel Programming 1 February 24th 04 04:17 PM
AUTOMATING CHARTS W/VBA ibeetb Excel Programming 1 December 11th 03 04:16 PM
Automating PP from XL Keith R[_3_] Excel Programming 0 November 20th 03 08:42 PM


All times are GMT +1. The time now is 08:42 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"