I want to track some(not all) of the buttons the users are using.
For instance if a user clicks Private Sub cmdAffidavit_Click(), I'd like to be able to call a function that will return the name of the event.
Currently I've added a line of code to each event, that is the name of the event. When the button is clicked the name of the event is saved to a table.
Is it possible to do it with one line, so I dont have to add a line like SubName = "cmdAffidavit_Click" for each sub that I want to track the useage of? Or is there a better method of tracking which subs are being called?
Thanks everyone!!
For instance if a user clicks Private Sub cmdAffidavit_Click(), I'd like to be able to call a function that will return the name of the event.
Currently I've added a line of code to each event, that is the name of the event. When the button is clicked the name of the event is saved to a table.
Is it possible to do it with one line, so I dont have to add a line like SubName = "cmdAffidavit_Click" for each sub that I want to track the useage of? Or is there a better method of tracking which subs are being called?
Thanks everyone!!