Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export eliminating the zeros
Message
From
20/01/2011 12:05:14
 
 
To
20/01/2011 11:39:48
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01496691
Message ID:
01496701
Views:
28
>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 = "@"
Previous
Reply
Map
View

Click here to load this message in the networking platform