How to click a row?

Posted by: goodssh on 8 September 2017, 5:56 am EST

  • Posted 8 September 2017, 5:56 am EST

    When my sheet has only one row, I'd like to make that row at clicked status.


     if (spr1.Sheets[0].RowCount == 1)


    <span class="Apple-tab-span" style="white-space:pre;"> </span>// Click this row. 



    I tried this SetActiveCell method, but it doesn't seem to work.


    How can I do it?


    Thanks in advance. 

  • Replied 8 September 2017, 5:56 am EST


    I have attached a sample application that fulfills your requirement. Kindly have a look at it. Hope it will help you. Please let me know if this is what you are looking for or if I missed something.


    Manpreet Kaur

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels