Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Automation Formatting and F9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01372023
Message ID:
01372137
Vues:
28
>>>I want Excel to treat text data as text even if the text may look like numbers.
>>>
>>>E.g. if I have character field that always contains digits only starting with valid digit I want Excel to recognize them as text and not as numbers.
>>
>>Still not inderstandable. If it is regarding the paerticular job you are doing, then give me an example to reproduce the behavior, and tell EXACTLY what you need.
>
>I have a CSV file. In this file the account number (which is supposed to be a character field) doesn't have quotes around it. Excel treats this column as a general format. I want this column to be treated as a text.

Then apply formatting to appropriate columns, like:

oExcel.Activesheet.UsedRange.NumberFormat = "@"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform