none
hyperlink lost when display text is changed c# RRS feed

  • Question

  • hi, can smebody plz help me :( i hve a hyperlink and depending on sme criteria the display text of that hyperlink should b changed to some text my problem is when i change the display text of a hyperlink, the hyperlink is lost :( h.Range.Text = someText; (h is my hyperlink) What should i do to correct this problem??? :( is there any other way to change the display text of the hyperlink without it being lost??? :( plz help me asap thks :)
    Tuesday, December 7, 2010 8:11 AM

Answers

  • Hi StarMush

    Have you tried changing the h.TextToDisplay property?


    Cindy Meister, VSTO/Word MVP
    • Marked as answer by StarMush Tuesday, December 7, 2010 10:14 AM
    Tuesday, December 7, 2010 9:27 AM
    Moderator

All replies