Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font size for whole Activesheet
Message
From
27/09/2005 05:12:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/09/2005 04:19:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01053317
Message ID:
01053327
Views:
6
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform