ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   EXCEL 2003 AND WORD doesn't speak anymore (https://www.excelbanter.com/excel-programming/315858-excel-2003-word-doesnt-speak-anymore.html)

freddybee[_3_]

EXCEL 2003 AND WORD doesn't speak anymore
 

Hi,

I was trying to export data from Excel to Word and

1) I have set a reference to Microsoft Word 11.0 Object Library in VBA

2) The begining of the code is

Dim appWrd As Object
Set appWrd = CreateObject("Word.Application")

When that use to work with previous version of Excel, here I have a
error message saying something like Err -2147221231, Err Automation
ClassFactory can't provide the requested class

ANY IDEA :eek

--
freddybe
-----------------------------------------------------------------------
freddybee's Profile: http://www.excelforum.com/member.php...fo&userid=1598
View this thread: http://www.excelforum.com/showthread.php?threadid=27555



All times are GMT +1. The time now is 01:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com