Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Export eliminating the zeros
Message
De
20/01/2011 12:05:14
 
 
À
20/01/2011 11:39:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01496691
Message ID:
01496701
Vues:
29
>I already did but the problem is when I format and is formatted as general and no zeros on the left, so what I want is to put the text to this column before passing the data

You might try some version of.........
oAS = oXL.Application.ActiveSheet
oAS.Columns(lnColumn).Select

&& Allow character fields that are all numbers to be formatted as Text (keeps char format and leading zeros)
oXL.Selection.NumberFormat = "@"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform