Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Sheet Formatting
Message
De
19/01/2006 09:52:11
 
 
À
19/01/2006 01:51:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01087027
Message ID:
01088385
Vues:
16
*--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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform