Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Sheet Formatting
Message
From
19/01/2006 09:52:11
 
 
To
19/01/2006 01:51:39
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087027
Message ID:
01088385
Views:
15
*--This is just for this example -
*--I used a table named insured to create a spreadsheet named insuredtest.xls
USE INSURED
COPY NEXT 200 to C:\insuredtest.xls TYPE XLS
USE IN INSURED

loExcel = Createobject('Excel.Application')
loExcel.workbooks.Open('C:\insuredtest.xls') && open my test spreadsheet
loExcel.Visible = .T.
With loExcel.ActiveWorkbook.ActiveSheet
 .UsedRange.RowHeight = 20
Endwith
*--Freezepane
loExcel.windows.item(1).freezepanes = .T.  && freezepanes
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform