We are trying to create an outlook appointment from a NAV Contact card with a hyperlink in the appointment body, back to the Contact card. Everything is working except for the hyperlink. When we try to set the Selection from Word.window.selection, we get this error: A call to Microsoft.Office.Interop.Word.Window.Selection failed with this message: Object does not match target type. We are using WordSelection dotnet variable set to Word.Selection object. We have this working in Visual Studio 2017, but cannot get past this error in NAV 2015. We are using Word to add the hyperlink to outlook appointment.
*This post is locked for comments
I have the same question (0)