Hi,
Been a while since I last coded in VBA, so appreciate some help. I'm trying to filter a variant that has data coming from the database. Simplified example of the code as below:
The data will look as below:![]()
Please Login or Register to view this content.
date state population 1-Jan-21 State A 5 2-Jan-21 State B 7 2-Jan-21 State C 8
In the example data above, I would like the code to filter for 2-Jan-21 and display the results on the Excel sheet.
Appreciate any help on how I can filter the variant vTest to do so.
Thank you.
Bookmarks