Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Font size for whole Activesheet
Message
De
27/09/2005 05:12:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/09/2005 04:19:38
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01053317
Message ID:
01053327
Vues:
7
>Hi all,
>
>This works:
>
>1. lCell=oExcel.ActiveSheet.Range("A1").SpecialCells(11).Address(.F.,.F.,1)
>2. area = "A1:"+lCell
>3. oRange=oExcel.RANGE("&area").Select
>4. oExcel.Selection.Font.Size = 10
>
>but how should I make 4. without prior 3 statements ?
>
>TIA, gojko
lcXLS = FullPath("formattest.xls")
USE customer
Copy To (m.lcXLS) type xls

oExcel = CreateObject("Excel.Application")
With oExcel
 .Workbooks.Open(m.lcXLS)
 .Visible = .T.
 .ActiveWorkbook.ActiveSheet.UsedRange.Font.Size = 14
 .ActiveWorkbook.ActiveSheet.UsedRange.Columns.Autofit
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform