Select a range of data dependant on the users input ie dates

R

Rachel

Hi,

I am working on an attrition report and want to be able to select a
range of data dependant on the users input. For example ask the user
to specify a start and end date, which would then select the rows that
are between these dates. (eg For all people who work in left between
1/3/07 and 1/4/07) This selected range would then automatically update
a graph to show attrition reports between certain dates.

Any help would be greatly apprciated

x
 
G

Guest

Hi Rachel,

VBA is your answer here. Use an inputbox to get the report start and end
dates from the user. Validate the entry with the ISDATE function and then
call excel's built in autofilter function, supplying the custom parameter
dates. Have the graph linked to the data sheet to take advantage of the fact
that when graphed data is filtered, excel automatically only graphs the
visible data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top