Simple Forms question.

JayLee

Board Regular
Joined
Sep 23, 2002
Messages
52
I want to make a form that will act as an autofilter. I want it to list the dates (non dupes) in a drop down box. Once you select a date, it will remove all the other rows that DON'T equal to that date. I've created the form itself already but I'm a newbie when it comes to integrating them into Excel. If done manually, I would have to remove rows of data from 20+ sheets. I intend to call the function from each of the sheets. Please help if you can! Thanks in Advance!!!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

JayLee

Board Regular
Joined
Sep 23, 2002
Messages
52
Ok I got the data to show in the drop down box. And then I did this:

Dim CurrentDate As Integer
ActiveCell = CurrentDate
Call DateRemoval

Now, how do i use the variable to remove the rows that don't match the date in the other sheets? On another note, the drop down box also shows the column title as well. Is there a way to remove that? Thanks in advance if you can help!!!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,423
Messages
5,837,152
Members
430,479
Latest member
mamush200

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
Top