Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel
Message
De
19/07/2005 11:56:58
 
 
À
19/07/2005 10:30:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Re: Excel
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01033830
Message ID:
01033890
Vues:
13
toExcel.ActiveWorkBook.ActiveSheet.RANGE(m.lcRange).PasteSpecial()

how do I know what row I am on right now???
need something like:

x2=loRange.LastRow
x1=x2-lnNumRows

x3=[=SUM(D]+tran(x1)+[:D]+tran(x2)+[)]

unfortunately the vba help does not seem to help me at all here <s>

Thanks

Peter



>>I am still working on by balnce sheet with all group totals on sheet 1 and the detail on sheet 2
>>sheet one has hyperlinks to the groups in sheet 2
>>so if you click on Current Assest (cell A1) sheet 2 come to the fore with the range containing all accounts for tis group highlighted.
>>
>>so far so good. When I create the ranges I do an pastespecial as advised by Cetin Basoz.
>>
>>But I want a total in sheet 1 in cell B8
>>
>>See: www.cortiel.com/bs_xl.htm
>>
>>any ideas how to get the formula from a range object which in this example id A5:H19 but I want =Sum(Sheet2!D6:D19)
>>
>>thanks alot!
>>
>>Peter
>
>Peter,
>Not sure I understood the question.
>
>.Range('B8').Formula = "=Sum(Sheet2!D6:D19)"
>
>Cetin
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform