Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In Excel: Possible to Have User Select Date Range and Copy Range to New Sheet

Status
Not open for further replies.

shelby55

Technical User
Jun 27, 2003
1,229
CA
Hello

I am using Excel 2007. I would like to be able to create a macro where the user enters a start and end date and that range is used as the filter to extract data from one worksheet to another.

Is this possible? Thanks.
 
What have you tried so far and where in your code are you stuck ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
You can use RefEdit control in the userform. It has to be modal.
Another option is to use Application.InputBox with Type=8.
Both enable you to select sheets and ranges.


combo
 
Turn on your macro recorder and record performong the filter, select & copy.

The copy rang is best performed on a Structured Table using ST References.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top