Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro to excel .. sum command
Message
From
26/08/2008 08:42:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/08/2008 08:33:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01341743
Message ID:
01341748
Views:
15
This message has been marked as the solution to the initial question of the thread.
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform