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: 6
Default Programatically changing MS-Query properties within Excel.

Hi Everyone,

I have a workbook that contains an ODBC link to a database and using
MS-Query it fills a range in my workbook with some filtered data from
my source database.

My query is set up at the moment, more or less hard-coded, to get the
last 7 days of data. Because of the hard-coding, I have to go in to
the query manually and specify a new date parameter whenever the query
needs to be updated.

I'd like to be able to change the MS-Query data from Excel so that I
can change the filtering and sorting without the need to manually
modify the query every time.

Is this possible?

Regards


Greg

 
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
Excel 2007 - Changing properties for Chart on Worksheet Barb Reinhardt Excel Discussion (Misc queries) 3 June 4th 09 08:24 PM
changing the properties of an excel file [email protected] Excel Programming 2 January 19th 06 10:57 AM
Programatically Changing Hover Labels David Excel Programming 2 September 20th 05 12:48 PM
How to stop Excel from changing the cell properties? Ikke Excel Discussion (Misc queries) 5 May 4th 05 10:12 PM
MS Query, command View-Query Properties Frans van Zelm Excel Discussion (Misc queries) 0 January 6th 05 02:24 PM


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

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"