Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LastCell : Excel Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00990663
Message ID:
00990673
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>loExcelSheet.Range("A1:IV64000").Select

Michael,

You can make use of the End property to simulate hitting the End and arrow keys in Excel to get to the end of a range like this:
#Define END_DOWN  -4121
#Define END_RIGHT -4161

WITH loExcelSheet
   .Range("A1", .Range("A1").End(END_DOWN).End(END_RIGHT)).Select()
ENDWITH
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform