Word communication failed since Win XP 
Author Message
 Word communication failed since Win XP

I used to work with Win 98 and Office XP. Since im working
with Win XP i cant run my word.vba anymore

Example:

Set Wordobj = CreateObject("Word.Application")

    Doc = c:\Test.doc

With Wordobj
.AddIns.Add FileName:="c:\Test.dot"
.Documents.Open Doc
End With

This is only a part of the whole thing, but by trieing to
run this i get the following error:

I try to translate from German: The Method "Add" for the
object "Addins" is failed.

Runtime Error: -2147417851

Even if i delete the addin procedure i get an error for
the open statement!!??!!

Has someone an idea - PLEASE  ?

Thanks



Sat, 17 Apr 2004 15:11:34 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Converting .doc Files to Text in Word XP Fails

2. VB6 crash on exit (XP), won't hit breakpoint (NT/XP)

3. Win 98,Win XP and API

4. Moving VB6 projects from Win Me to Win XP

5. Different results Format() Win XP and Win NT

6. Automating Excel XP from Word XP

7. Word XP and Access XP

8. Word Templates with VBA code running very slow in Word XP

9. Office XP only: Spurious bookmark added to Word document Automating Powerpoint from Word

10. Word 97 Macros > Word XP Macros

11. Retrieving Word XP Metadata from a Word 97 document

12. Word XP Template Error on Word 97

 

 
Powered by phpBB® Forum Software