So, my stored procedure returns all the desired data in columns with the column titles and everything. That report now needs to print as an Excel file when the user clicks on a button on a form.
Microsoft Excel offers Visual Basic for Application (VBA) as a scripting tool to let you add additional functionality to your Excel spreadsheets. You can use VBA to prompt the user to enter a filename ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results
Feedback