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:
01372130
Views:
24
>>>Do you know how to instruct Excel to treat text as a text and not as numbers when the text looks like numbers.
>>
>>I do not understand. Do you want Excel to "treat text as numbers", meaning, like in VFP force Excel to display a message "... type mismatch"?
>>Excel is designed to work with numbers, meaning, to perfom mathematical operations with them. Formatting - it is for user convinience for reviewing data. Thus no matter what is cell fomat, number is "treated" as number in Excel.
>
>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.
If it is an imaginary problem (and I suppose it is), then I would recommend you work on it gaining your own experience instead of collecting ideas from others.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform