Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We have an Excel application which fails for some users, sometimes,
with a 1004 at the line: Set gobjWordApp = CreateObject("Word.Application") where gobjWordApp has been defined as an Object. What's interesting is that the Word session has been started, as per Task Manager. It isn't visible to the user at that point (as expected) and the gobjWordApp object is undefined.. So while Word is there, it looks like the reference/pointer back to VBA simply doesn't occur. Additional hints: Changing the line to a simple "CreateObject("Word.Application") works fine -- although it's pretty useless for the application since there's no addressable object for VBA to interact with. Re-installing Office doesn't change anything. The typical environment is Windows XP/SP2 and Office 2003/SP2 or SP3. There doesn't seem to be a particular pattern in terms of who this works for and who it fails for, although we're getting suspicious of the new Vista-compatible versions of HP printer drivers. Has anyone had experience with this kind of problem or, even better, know of a fix? / Tyla / |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
CreateObject("InternetExplorer.Application") | Excel Programming | |||
Set OutApp = CreateObject("Outlook.Application") - Runtime error 429 | Excel Programming | |||
ASP: CreateObject("Excel.Application") IIS 6.0 Win2003 | Excel Programming | |||
Excel VBA, won't recognize "Word.Application" object | Excel Programming | |||
CreateObject("Excel.Application") - Access denied | Excel Programming |