Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting the Column Name from Excel
Message
De
29/04/2004 00:14:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00898943
Message ID:
00899209
Vues:
17
Dear Yuri,

Thanks very much for your code. It works just fine !

The job was to take out the address of an active cell, find out it's column, and then do a calculation on the entire column. By using 'ActiveCell' in your code, I've got the desired result.
lstr = mid(ActiveCell.Address(), 2)
Ln = InStr(1, lstr, "$")
MsgBox (Left(lstr, Ln - 1))
Thanks again !

Regards,

Steve.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform