Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the format of a Word hyperlink that uses a Range?

format hyperlink range uses word
0
Posted

What is the format of a Word hyperlink that uses a Range?

0

I want to create a hyperlink in an Excel cell that goes to a specific location in a Word document. But I don’t want to change the document by inserting a bookmark or anything else. I will use VSTO 2005 SE to capture the location in Word and create the hyperlink in Excel. I can do exactly what I want manually in Word 2007 and Excel 2007 using drag-and-drop. If I drag and drop the selected text from Word to Excel, using the right mouse button, and choose the “Create hyperlink here” option, the cell will have a hyperlink that does exactly what I want. But I can’t figure out the format of the hyperlink. An example hyperlink is “c:\example.doc# 1,12204,12210,94,,Note 1”. Is this format documented anywhere? I know the 12204 and 12210 parameters are a Range.Start and a Range.End. The “Note 1” parameter is the text I selected. But what are the rest of the parameters? Thanks for any help.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123