You can use EasyFilter if you want to do this
http://www.rondebruin.nl/easyfilter.htm
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
<(E-Mail Removed)> wrote in message news:e6ca0fb1-8fb5-4c0e-8061-(E-Mail Removed)...
> Hi,
>
> I am very new to VBA programming and I need help.
>
> I am thinking to write a macro which can -
> 1. Pop out a window to ask the user to input the beginning date in MM/
> DD/YY format.
> 2. Pop out another window to ask the user to input the ending date in
> MM/DD/YY format.
> 3. Then the macro deletes rows based on the entered date period (all
> rows between the beginning date and the ending date will be deleted).
>
> In the target excel worksheet, dates are recorded in column B.
>
> Can anyone help? Thanks!!!!!
>