Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace into excel
Message
De
05/10/2004 16:21:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00948894
Message ID:
00948924
Vues:
20
hi,

if i cange the fiel,and table as under it works,
ObjExcel= CREATEOBJECT("Excel.Application")
with ObjExcel
     .Workbooks.open(yourfile)&& you mean book name  
      lcRange="A2"  &&starting cell
      .Range(lcRange).Select
     .Rows(TRANSFORM(.ActiveCell.row)+":"+TRANSFORM(.ActiveSheet.UsedRange.Rows.Count)).Delete  &&remove all data

     use gg
     _VFP.Datatoclip(,,3)
    .ActiveSheet.Paste()
thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform