I have created an Excel report the obtains selected information from a SQL stored procedures based on parameters sent from cell values in the spreadsheet.
I have a section that will report the list of values from the stored procedure and then sum the values at the bottom of the section. The problem I am having is placing the output into the section and expand or shrink the area depending on the stored procedure output. One time the list can be 10 records another maybe 5.
How can I achieve this?