Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Excel cell height
Message
 
To
05/07/2007 03:45:23
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01237826
Message ID:
01237835
Views:
17
This message has been marked as the solution to the initial question of the thread.
>>>Hi,
>>>An other question about excel automation:
>>>how can I set the hight of an excel cell?
>>>
>>>Thanks
>>>
>>>Tamas Szigeti
>>
>>I don't think you could change the size of the individual CELL, you can change Row Height or Col Width, but I could be wrong.
>
>yes, thanks, you're right, i would like to set the row hight.
oExcel = CREATEOBJECT([Excel.Application])
oExcel.Workbooks.Add()
oExcel.Rows(1).RowHeight= 30
oExcel.Visible = .t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform