a VS2008 VSTO question: how to copy a one selected cell's value to other selected cells RRS feed

  • 问题

  • I selected some cells in  listobjet binding area ,then I input a value in one cell, an then I want to copy the value to other selected cells when I leave the selected area,please help me ,thanks!!
    Everything is in yourself
    2010年12月6日 8:56


  • I think you can use the Range object in Excel to goal. and one thing I have to request your attention is, when your mouse leave your selected area and click anothr area, the selection range might be disposed, so you will no longer have selected range recorded. You have to programmatically record the selection range in order to take the continuation operations after you leave the selection area.
    Mark Zhou
    2010年12月6日 10:02