static void HyperlinkDocument(Document document, List ids) { Microsoft.Office.Interop.Word.Hyperlinks myLinks = document.Hyperlinks