Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Automation Formatting and F9
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01372023
Message ID:
01372137
Views:
19
>>>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 = "@"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform