none
Get the selected paragraph text from a Table object in Powerpoint 2007 RRS feed

  • Question

  • <table border="2" cellpadding="2" cellspacing="2" style="width: 203px; height: 153px;" > <tbody> <tr> <td>  </td> <td>  </td> </tr> <tr> <td> 1-First <br /> 1-Second <br /> <strong>1-Third</strong> <br /> 1-Fourth <br /> 1-Fifth</td> <td> 2-First <br /> 2-Second <br /> 2-Third <br /> 2-Fourth <br /> 2-Fifth</td> </tr> <tr> <td>  </td> <td>  </td> </tr> </tbody> </table>

       
    1-First
    1-Second
    1-Third
    1-Fourth
    1-Fifth
    2-First
    2-Second
    2-Third
    2-Fourth
    2-Fifth
       

     

    1. I have a table in powerpoint slide 2007

    2. My cursor is positioned upon "1-Third" paragraph in cell(Row-2, Col-1)

    3. Now, I want to get the selected paragraph text using vb.net

    I am already using :

    ActiveWindow.Selection.ShapeRange.Table.Cell(rowIndex, colIndex).Shape.TextFrame.TextRange.Text

    but, It gives me the entire paragraphs rather than that selected paragraph by user. I have to apply bullet for that selected paragraph.

    • Moved by Martin_XieModerator Monday, May 17, 2010 4:13 AM Redirect to appropriate forums for better support. (From:Visual Basic General)
    Monday, May 10, 2010 7:12 AM