Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hex values converted to exponents during Excel Automatio
Message
De
29/01/2004 10:16:55
 
 
À
28/01/2004 18:46:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00871210
Message ID:
00871800
Vues:
20
*snip*

>There is a separate "Text" format in Excel. You would probably have to set this first, and then insert the value. Using the macro editor in Excel, and applying this format, gives me:
>
>
>Selection.NumberFormat = "@"
>
>
>Adapting this to VFP would produce a command similar to the following:
>
>
>oSheet.Cells(lnRow, lnCol).NumberFormat = "@"
>oSheet.Cells(lnRow, lnCol).Value = "2E63"
>
This works perfectly! Many thanks, Hilmar! :)
---------
Single field, surrogate primary keys....because it's sexier!

Third normal form is more than just a good idea.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform