ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro with Query (https://www.excelbanter.com/excel-programming/305501-re-macro-query.html)

Dick Kusleika[_3_]

Macro with Query
 
Kevin

Try here

http://www.dicks-clicks.com/excel/Ex....htm#ChangeSQL

Also, have a look at the Parameters page. Often a parameter is a better way
than handling it through code, but not always.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Kevin Depree" wrote in message
...
Hi,

I have sucsesfully created a query that looks at my database, but I want

to create a macro which changes some of the 'criteria' withing the query
that can be run without having to go back into query every time the change
is made.

Can anyone help

Kevin Depree





All times are GMT +1. The time now is 12:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com