Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting the Column Name from Excel
Message
 
À
28/04/2004 12:13:12
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00898943
Message ID:
00899071
Vues:
16
Sorry, still not clear, extract the column name in reference to what?
Anyway you can add to your VBA macro code something like this:
    lstr = Mid(Range("AE1").Address(), 2)
    Ln = InStr(1, lstr, "$")       
    MsgBox (Left(lstr, Ln - 1))
*displays AE
>I would like to extract the column name through a VB macro, to do some calculations, hence I require VB code for the same. Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform