ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Multiple Prompts (https://www.excelbanter.com/excel-programming/364169-multiple-prompts.html)

jberv534

Multiple Prompts
 
Is there a way to prompt the user for mulitple criteria for a query in Excel.
For instance, we want to prompt the user to enter a series of zipcodes and
use the list for the query.

Thank you.

Tom Ogilvy

Multiple Prompts
 

Untested, but I would think You would concatenate a string of zipcodes into
an
sql string like below (partial)

v = "22032,63124,22334,55444"

.. . .

" . . . where tablename.zip In (" & v & "), . . . "

obviously you could prompt with in input box.

--
Regards,
Tom Ogilvy



"jberv534" wrote:

Is there a way to prompt the user for mulitple criteria for a query in Excel.
For instance, we want to prompt the user to enter a series of zipcodes and
use the list for the query.

Thank you.


jberv534

Multiple Prompts
 
The input prompt did not recognize the entry. Thanks for the help, anway.

"jberv534" wrote:

Is there a way to prompt the user for mulitple criteria for a query in Excel.
For instance, we want to prompt the user to enter a series of zipcodes and
use the list for the query.

Thank you.


Tom Ogilvy

Multiple Prompts
 
The input prompt did not recognize the entry.

What does that mean?

--
Regards,
Tom Ogilvy


"jberv534" wrote:

The input prompt did not recognize the entry. Thanks for the help, anway.

"jberv534" wrote:

Is there a way to prompt the user for mulitple criteria for a query in Excel.
For instance, we want to prompt the user to enter a series of zipcodes and
use the list for the query.

Thank you.



All times are GMT +1. The time now is 04:26 PM.

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