I am using simple code in Word 2016 and getting the error pointing to the statement below
Dim MyData As DataObject
Installed references are Microsoft Active X Data Objects 6.1 Library, Microsoft Office 16.0 Object Library, Microsoft Word 16.0 Object Library and Microsoft Data Access Components Installed Version
Can anyone suggest what I am missing?
Thanks much!