Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Automation - DataType Change
Message
From
01/07/2011 12:14:30
 
 
To
01/07/2011 11:58:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01517052
Message ID:
01517057
Views:
47
>I am using automation to open an Excel spreadsheet from VFP. What I want to do is programatically change the datatype of all cells in the spreadsheet to "text". What is the syntax of the call I would need?
>
>Thanks for your time.
>
>Steve

Try......

Select the column, cell, range, etc and then
oxl.selection.numberformat = "@"
Previous
Reply
Map
View

Click here to load this message in the networking platform