![]() |
#7
|
||||
|
||||
![]()
Hi tinfanide,
It's a bit more involved than simply unchecking the "Microsoft Word Object Library 14.0" reference. See: http://support.microsoft.com/default...b;EN-US;245115 Amongst other things, you'd change all the Word-specific definitions to 'Object': Dim wrdApp As Object, wrdDoc As Object, wrdTbl As Object, wrdTpl As Object and you'd change: Dim rng as Word.Range to: Dim rng as Range or, better still: Dim wdRng As Range You might also need to change some Word-specific parameters to the values. The code will throw an error on any affected lines. Simply replace those parameters' names with their numeric values.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tinfanide | Excel Programming | 7 | 12-12-2011 05:21 AM |
Problem: object library invalid or contains references to object definitions | aligahk06 | Office | 0 | 08-19-2010 12:29 PM |
Using Office Premium 2007 Trial with Already Installed Office Home and Student 2007 | SME | Office | 1 | 10-07-2009 06:51 AM |
![]() |
OfficeDude | Office | 3 | 08-16-2009 02:11 PM |
Access Object library 10 | Gyto | Office | 0 | 10-09-2008 09:04 AM |