jonescj911
Technical User
Hi,
I am trying to write a macro in Excel that allows a user to enter a parameter into an input box which will be the criteria for a query to an Access database. The input will determine what is returned from the database my worksheet is connecting to.
In the sheet's NameBox is a never ending list of previous query names. These query's results are populating the cells I want the macro's query to return to whenever I test the macro. I can right click on the cell the data is returned to and delete the queries from the External Data Range Properties window one at a time but it is very time consuming.
Is there any way to delete them all at once? Is there any way to keep them from being stored? Why are they there?
Any help is appreciated. Thanks.
Cliff
I am trying to write a macro in Excel that allows a user to enter a parameter into an input box which will be the criteria for a query to an Access database. The input will determine what is returned from the database my worksheet is connecting to.
In the sheet's NameBox is a never ending list of previous query names. These query's results are populating the cells I want the macro's query to return to whenever I test the macro. I can right click on the cell the data is returned to and delete the queries from the External Data Range Properties window one at a time but it is very time consuming.
Is there any way to delete them all at once? Is there any way to keep them from being stored? Why are they there?
Any help is appreciated. Thanks.
Cliff