Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If cell is merged with other cells
Message
From
09/10/2006 08:54:11
 
 
To
09/10/2006 08:27:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01160470
Message ID:
01160516
Views:
4
>>Automation experts;

Thks+++ / all done :)


>>
>>Is there way to determine if single cell is part of
>>merged group of cells?
>>Also in how meny ROWS merged cells are spread.
>>
>>TIA / Anu help is greatly appreciated.
>
>You mean merged cells in Excel? If so, using H10 as a cell to check:
>
>mySampleCell = 'H10'
>with oExcel.ActiveWorkbook.ActiveSheet
>if .Range(m.mySampleCell).MergeCells && Is it merged?
>  loMergeArea = .Range(m.mySampleCell).MergeArea && range of merged cells
>  ? loMergeArea.Columns.Count
>  ? loMergeArea.Rows.Count
>  ? loMergeArea.Cells(1,1).Address() && top left
>  ? loMergeArea.Cells.Address() && whole area
>endif
Cetin
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform