selvamarcadu
Member
- Joined
- Jul 7, 2009
- Messages
- 17
- Programming Experience
- Beginner
Hi all,
I embedded MS Office Powerpoint inside .NET form using Dsoframer activeX and now want to highlight certain keywords.I could change the font color of the keywords but not able to highlight the whole word.I did a lot of googling but efforts in vain.
<code>
...
oTxtRng = shp.TextFrame.TextRange
oTmpRng = oTxtRng.Find(str, start_ind)
oTmpRng.Font.Color.RGB = RGB(255, 255, 0)
...
</code>
Could anyone help me out ?
Note : I have done this for MS Word and MS Excel with no problem.
I embedded MS Office Powerpoint inside .NET form using Dsoframer activeX and now want to highlight certain keywords.I could change the font color of the keywords but not able to highlight the whole word.I did a lot of googling but efforts in vain.
<code>
...
oTxtRng = shp.TextFrame.TextRange
oTmpRng = oTxtRng.Find(str, start_ind)
oTmpRng.Font.Color.RGB = RGB(255, 255, 0)
...
</code>
Could anyone help me out ?
Note : I have done this for MS Word and MS Excel with no problem.