Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel insert a sum function in code
Message
From
15/04/2008 14:00:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01302702
Message ID:
01310815
Views:
11
>Does anyone have an example how to insert sum() function in excel spreadsheet in code? I'm building the spreadsheet in code, and at the end, I want to sum each column.
>
>Thanks
>
>Kirk


loExcelApp.Sheets("Sheet1").Select.cells( 29, 13).FormulaR1C1="=SUM(RC[-4]:RC[-1])"
Carole Shaw
Fred Hutchinson Cancer Research Center

Eagles may soar, but weasels don't get sucked into jet engines.
Previous
Reply
Map
View

Click here to load this message in the networking platform