>i am creating reports from my tables to view in excel, that is working without problems, however i am not able to get the totals below the reports. what is the command to do that?
1. Save a macro in Excel, and look at the generated code.
2. Look at my article on Excel Automation, Universal Thread Magazine, September 2002 - although it doesn't include a specific example for a sum.
The main practical problem here is to replace the constant, e.g. for 10 rows, for some variable. And to obtain this variable first, from your data.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)