JazzSP8
Well-known Member
- Joined
- Sep 30, 2005
- Messages
- 1,227
- Office Version
- 2013
- 2010
- Platform
- Windows
Hi All
I'd like to output the number of rows affected by some queries in a VBA script, so it would run the query and then number that pops up in the message box would be output to a file.
I've tried searching but most people want the results outputting
Ideally I'd like this in an Excel file as there is already a template set up to record the numbers and I could just tell it where to put the data, however I could work with a CSV if the Excel thing is a pipe dream?
Can anyone suggest a way this can be done?
Thanks in advance
I'd like to output the number of rows affected by some queries in a VBA script, so it would run the query and then number that pops up in the message box would be output to a file.
I've tried searching but most people want the results outputting
Ideally I'd like this in an Excel file as there is already a template set up to record the numbers and I could just tell it where to put the data, however I could work with a CSV if the Excel thing is a pipe dream?
Can anyone suggest a way this can be done?
Thanks in advance