bino1121
New Member
- Joined
- Apr 26, 2023
- Messages
- 14
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- Platform
- Windows
I have a workbook going right now that has 2 sheets. Sheet1 is a data set. Sheet2 is a list of buildings. So far I have it so that the advanced filter is used so that the dataset on Sheet1 is filtered based on the values in Sheet2. My question is can I some how incorporate a line of code to make it so that Wildcards can be used so that only the exact values will be returned and not values that include part of it? For example: I want to filter out only building 1. But I have Building1, Building1A, Building1B, Bulding1C in my list. In the case of my current code the filter will return all those values when I filter by building1. Using wildcards I could get the exact building when filtering to be just Building1.