Jayant Balraj Madavi wrote:
Hi,
I create a Range from Selection. how do I find the active cell ??
uno::Reference< frame::XModel > xModel(
m_xDesktop->getCurrentComponent(), uno::UNO_QUERY );
uno::Reference< table::XCellRange > xRange(
xModel->getCurrentSelection(), ::uno::UNO_QUERY);
Active cell is the last cell that is shown with white border .
Regards,
Jayant
If you have a copy of my free macro document, read the section titled:
Get the active cell and ignore the rest
<#6.5.1.Get%20the%20active%20cell%20and%20ignore%20the%20rest%7Coutline>
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info: http://www.pitonyak.org/oo.php
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]