Error 424: Set xlApp = CreateObject ("Excel.Application")

FrozenMana

Registered User.
Local time
Today, 17:11
Joined
Aug 10, 2015
Messages
27
The database in question is on a shared network and used by multiple people. The coding has been changed to use late binding due to multiple versions of Access being used to utilize this database.

One of the users is receiving the following error message:

Error 424: Object required

The line that shows up during the de-bug process is:
Code:
Set xlApp = CreateObject ("Excel.Application")

Any advise is welcome. All I have come across while trouble shooting refers to missing references in early binding.
 
How is xlApp defined?
what happens if you enter 'CreateObject ("Excel.Application")' into the immediate window?
Is there any difference between versions of Office with this computer?
 
How is xlApp defined?
what happens if you enter 'CreateObject ("Excel.Application")' into the immediate window?
Is there any difference between versions of Office with this computer?

It just gives the same error message. There are other users that are able to use the database without issue with the same version of Office/Access as the user having the issue.
 
try to run this code under EXCEL or Word VBA.
if still occurs error, I am afraid you have to reinstall your office to fix this problem.
your register probably has been destroyed.
 
try to run this code under EXCEL or Word VBA.
if still occurs error, I am afraid you have to reinstall your office to fix this problem.
your register probably has been destroyed.

If that were the case wouldn't the other Access databases they use not work as well on their computer?
 
Do the other Access databases create Excel objects?
See if you can do a repair of Office before a reinstall.
I also like the suggestion of creating the Excel object in Excel or Word to see what happens.
 

Users who are viewing this thread

Back
Top Bottom