Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Format Cell problem
Message
De
10/06/2011 09:39:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/06/2011 04:43:47
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01513977
Message ID:
01514011
Vues:
49
Change the cell format to text, and THEN insert the value.

>Hi,
>
>I put a prefix ' before the invoice no.
>
>
>oExcel.activesheet.Range("B"+TRIM(PADR(nrow,11))).value = "'"+rpt012->invno
>
>
>Yes, the cell can display 000234567, but the value become '000234567
>I don't want it be '000234567
>
>Please advise.
>
>Derek Yim
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform