Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to end a copy on Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00958704
Message ID:
00959001
Vues:
22
Yest it helps
Thanks


>I don't know if it helps but it's easy to convert column number into column reference.
nCol = 222
>
>* using Excel
>cColRef = oWorkSeet.Cells(1,nCol).Address(.T.,.F.,1)
>cColLetter = LEFT(cColRef, AT("$", cColRef)-1)
>
>* VFP code only
>cColLetter = IIF(nCol>26, CHR(Int((nCol - 1) / 26) + 64), "") + ;
>              CHR(((nCol - 1) % 26) + 65)
>
>
>
B.D.H.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform