Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Get Page Wise Totals in Excel
Message
De
29/07/1999 04:22:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/07/1999 02:03:58
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00247106
Message ID:
00247550
Vues:
31
>>>Is it possible to get pagewise totals in Excel ??
>>>
>>>Any ideas/suggestions...
>>>
>>>TIA...
>>Vinod,
>>Take a look at subtotal method. Also there is sample code about it today title "....array...excel..".
>>Cetin
>
>I found that thread, Thnks for the tip and code...
>
>Only one question... How we can select a particular page.. i.e. How we can come to know where page ends (i want to automate this thing from vfp...)
>
>Pls advs...
Vinod,
I hope this helps as a starter :
#include "xlConstants.h"
USE home()+"samples\data\customer"
Application.datatoclip("customer",reccount(),3)
PUBLIC oExcel
oExcel = createobject("Excel.application")
Clear
WITH oExcel
  .WorkBooks.Add
  WITH .ActiveSheet
    .Range("D20").select
    .Paste
    lcLastCell = .Range("A1").SpecialCells(xlLastCell).Address(.f.,.f.,xlA1)
    ? lcLastCell
    .Range("A1").SpecialCells(xlLastCell).Select
    .Application.Selection.Offset(1).Select
  ENDWITH
  .visible = .t.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform