Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i want to make "Back to top" hyperlink in MS word document after some text. I tried oDoc.Hyperlinks.Add(oRange, ref oAddress, ref oMissing, ref oMissing, ref oMissing, ref oMissing); but couldn't get result. Does anybody know how to do it or what am i doing wrong?

Tnx in advance
Posted
Comments
Zoltán Zörgő 16-May-12 7:08am    
Firt of all try to solve this inside word, with word's tools. Than you can easily trasscribe it to code.
Just an idea: you can jump to anchors. Place an achor to the point where you want to jump, and a link to that anchor.
[no name] 17-May-12 7:17am    
Word 2010, .net ver 12.0.0.0

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900