I just began using VBA as a tool in my db's...I've made a half dozen db's without an issue here at work for little things without fail, usually connecting to our SQL server to pull some bit of information down for a report to two.
The last two have had issues, randomly shutting down when a button is pressed. This last one I just created an hour ago. Seemed to work great, then I deployed it to someone using Access 2010 runtime, and now it's having issues...
The issue specifically is an error popping up (see attached "capture") when I click a button to send query results to excel.
This again worked fine before deployment. When I Open the db on my computer, I can get the query results directly, but have the same issue if I click the button.
Worse yet, I can't go into the VBA at all for the form (or db). as it just shuts down access.....
Any ideas why this is happening? Please see attached jpegs...
The last two have had issues, randomly shutting down when a button is pressed. This last one I just created an hour ago. Seemed to work great, then I deployed it to someone using Access 2010 runtime, and now it's having issues...
The issue specifically is an error popping up (see attached "capture") when I click a button to send query results to excel.
This again worked fine before deployment. When I Open the db on my computer, I can get the query results directly, but have the same issue if I click the button.
Worse yet, I can't go into the VBA at all for the form (or db). as it just shuts down access.....
Any ideas why this is happening? Please see attached jpegs...