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: 1
Default Editing Query Parameters

I currently use Excel in conjunction with Microsoft Query to extract
data from a database and run certain reports. Most of these reports
must be based on a date range, or some other similar criteria. My
problem is that when I want to update the report for a new date range
or the like, I have to hit "edit query" to open up Microsoft Query,
then edit the criteria. I would like to know if there is a way to
update the parameters in the query without manually opening MS Query
and editing. I tried to create a macro that would do it for me without
any luck. Optimally, what I would like is either a macro that pops up
an input box for the user to enter new parameter(s), or I could have a
cell on the spreadsheet where I would enter a new parameter, then the
SQL code would take this cell's data and put it into the query for me.
This would make the reports much more user friendly to edit. Any ideas?


---
Message posted from http://www.ExcelForum.com/

 
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 Query Parameters jason Excel Discussion (Misc queries) 1 February 8th 09 10:02 PM
MS Query - 2 Parameters cottage6 Excel Discussion (Misc queries) 2 July 17th 08 09:16 PM
Excel 2007 / MS Query - editing existing query to another sheet Hotpepperz Excel Discussion (Misc queries) 0 June 13th 08 06:53 PM
Query Parameters Texas_Toast Excel Discussion (Misc queries) 0 January 11th 06 03:14 PM
Query Parameters Jeff Excel Programming 1 November 18th 03 05:47 PM


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