ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Wildcard parameter in excel (https://www.excelbanter.com/excel-discussion-misc-queries/2498-wildcard-parameter-excel.html)

BJC

Wildcard parameter in excel
 
Hi,

I've returned the output of an Access Query into Excel using Data == Import
External Data etc by inputting a parameter into excel. Is it possible to
enter the parameter as a wildcard entry, instead of an exact parameter.

Eg entering 1234* to return this data range, rather than entering a specific
parameter such as 123456?

Thanks.



Debra Dalgleish

You could add a field to the query, in which you calculate the first
four characters. For example: LEFT(Amount,4)

In Excel, enter the four characters you want to use as the parameter.

BJC wrote:
Hi,

I've returned the output of an Access Query into Excel using Data == Import
External Data etc by inputting a parameter into excel. Is it possible to
enter the parameter as a wildcard entry, instead of an exact parameter.

Eg entering 1234* to return this data range, rather than entering a specific
parameter such as 123456?

Thanks.




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 07:33 PM.

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