Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel - Last cell used
Message
 
À
12/05/2005 12:22:47
Justin Roper
The Cadle Company
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01013459
Message ID:
01013502
Vues:
12
It gives the address of a cell. Just format its return as you wish:

?ObjExcel.ActiveSheet.Range("A1").SpecialCells(11).Address(.f.,.f.,-4150)
?ObjExcel.ActiveSheet.Range("A1").SpecialCells(11).Address()
?ObjExcel.ActiveSheet.Range("A1").SpecialCells(11).Address(.f.,.f.)
.....

See more on address property in VBA for Excel Help.



>That seem to work great. Thanks a lot
>
>Not sure how it works though
>.Range("A1").SpecialCells(xlLastCell).Address(.f.,.f.,xlR1C1)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform