Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create graphs and worksheet in excell from foxpro
Message
From
29/11/2004 06:07:59
 
 
To
28/11/2004 23:00:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00965185
Message ID:
00965356
Views:
10
When I create the excel file the date column does not show the full width so the data in the date field are "Hashes". If I open up the excel file and widen the date column, everthing looks sweet. Is there a way to open an existing excel file from the form, and adjust the date column size and shut the excel file ???
oXL = CREATEOBJECT( [Excel.Application] )
lcXlFile = GETFILE()
oWb = oXL.Workbooks.Open( lcXlFile )
oSheet = oWb.ActiveSheet
oSheet.Columns( "A:A" ).ColumnWidth = 10
oWb.Save()
oXL.Quit()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform