I'm using VBA to perform an Advanced Filter and the results appear to be extracting more records than anticipated.
The extract contains all records whose name is LOG* (notice the wildcard). I just want records whose name is LOG.
Any suggestions?
Advanced Filter
-
- GoldLounger
- Posts: 2631
- Joined: 26 Jan 2010, 16:31
- Location: Southern California
Advanced Filter
Regards,
John
John
-
- Administrator
- Posts: 78548
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Advanced Filter
Enter the following in the criteria cell:
'=LOG
The ' forces Excel to treat the value =LOG as text, not as a formula. You could also format the criteria cell as Text and enter
=LOG
'=LOG
The ' forces Excel to treat the value =LOG as text, not as a formula. You could also format the criteria cell as Text and enter
=LOG
Best wishes,
Hans
Hans