Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to move the range down in excel ?
Message
De
11/12/2008 08:06:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/12/2008 04:50:52
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01365010
Message ID:
01366621
Vues:
15
>Hi,
>After I Export a file to a Excel worksheet,
>how can I sum up a column and give a total at the last row ?
>
>Please advise.
>
>Derek

Assuming you would sum column 4:
With oExcel.activeworkbook.activesheet
  .Columns(4).Rows( .usedrange.Rows.Count + 1 ).FormulaR1C1 = ;
    TEXTMERGE("=SUM(R1C4:R<<.usedrange.rows.Count>>C4)")
Endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform