Hello,
I am trying to make a VBA function that will count the records in my table on a button click.
The hard part is I want the function to single out dates that appear more than (example 6 times) then diplay that date in a small pop up form in a list box or text box.
So for example if I run the date range 7/1/2010 - 7/31/2010 in a pop up box it will show all the dates in that range that appear in the table more than 6 times. I have been trying to use the DCount function but it either just diplays a number of how many there are or it just shows all the dates.
Any help would be great,
Thanks :)
I am trying to make a VBA function that will count the records in my table on a button click.
The hard part is I want the function to single out dates that appear more than (example 6 times) then diplay that date in a small pop up form in a list box or text box.
So for example if I run the date range 7/1/2010 - 7/31/2010 in a pop up box it will show all the dates in that range that appear in the table more than 6 times. I have been trying to use the DCount function but it either just diplays a number of how many there are or it just shows all the dates.
Any help would be great,
Thanks :)
Comment