Call dates

lsearcey

Board Regular
Joined
Sep 8, 2003
Messages
139
I have a data base that list all my sales calls when they were made and subject etc. I have a button that I click to make a report that list them all. Is there a way to make it so that when I click the button it asks to put a start date and end date for the calls so that it doesn't list them all. Thank you for your help.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Yep. Let's assume that your report is based on MyQuery, and that you trigger it from MyForm.
To this form, add 2 textboxes: StartDate and EndDate. Format both of them as dates (I usually pick Medium Date). Save the form.
Now open MyQuery in Design view. Go to the CallDate field (or whatever you named it, and in the Criteria line, enter this:
Between Forms![MyForm]![StartDate] And Forms![MyForm]![EndDate]
(substitute the correct name for MyForm...). Close and save the query.
Now launch the form, enter dates in the StartDate and EndDate fields, and check it out.

Denis
 
Upvote 0

Forum statistics

Threads
1,221,567
Messages
6,160,541
Members
451,655
Latest member
rugubara

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