Jump to content

VBA error


Dman2900

Recommended Posts

We are running VBA routines and we have 2 that will run on 2 of the 3 computers but will not run on the third.....keep getting automation error / unspecified error for one and system error &h80004005 (-2147467259) / unspecified error for the other.

 

Knowone in the office knows VBA, these were written by someone who no longer works here.

 

Any ideas?

 

I'm sure you need more info to figure it out, so let me know what you would need.

 

Thanks

Link to comment
Share on other sites

Does the third computer have a different version of AutoCAD?

 

On the computer where the VBA macro will not run try loading the DVB project and open the Visual Basic editor. On the menu bar click on 'Tools' and then 'References...'. In the window that opens there will be about seven or eight items with a tick in their check-box, in the list box, at the top. See if one of the items is "MISSING: AutoCAD 20xx Type Library". If so untick the check-box by clicking on the tick mark. Close the window and then save the project.

 

If the DVB project is located on a server I would recommend saving the file saved above locally on that machine.

 

If that doesn't work, PM me and I'll try to sort it out for you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...