Using a text date for filtering

scottishmovies

Board Regular
Joined
Mar 11, 2003
Messages
158
Hi Guys,

I have a sheet (Data) which is capturing data from a userform. One column has a formula which converts a date field into a text format.
So, in G2 I have :-

=Text(D2, "MMM-YY")

and I use this to generate monthly reports and charts etc, it works well. I also use a dropdown list so the user an select the month report to run. I would like to automatcally filter the sheet (Data) when the dropdown is changed in the REPORT sheet, based on the selection of the dropdown.

The dropdown is named "reportdate". I would also like to hide several fields and the one with the formula above (G2) is one of them. Is it still possible to filter in VBA if the column is hidden?

Hope that makes sense? Any ideas appreciated.

Thanks,
Pat
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top