Solved

Each time excel opens, I get VB error

Posted on 2011-09-13
9
1,997 Views
Last Modified: 2013-11-15
Hi Guys,

Each time I open Excel, the VB Editor associated with either Excel 2003 or 2010 opens up and displays the following error.


---------------------------
Microsoft Visual Basic
---------------------------
Compile error:

Object library invalid or contains references to object definitions that could not be found
---------------------------
OK   Help  
---------------------------

The VB project name is ExcelToGM6x.xla so Im assuming its something to do wtih the the Goldmine addin for office.

Any ideas why this is happening?

Thanks
D
0
Comment
Question by:daiwhyte
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 16

Expert Comment

by:carsRST
ID: 36529250
Check your references within the VB editor.  Tools->References
See image.  
What you'll probably notice is one of the items checked will say that the reference is missing.  What ever it is you'll either need to install or find where it's located.  
dlgComReferencesExcel.png
0
 

Author Comment

by:daiwhyte
ID: 36529289
Wrere do I the references to?
0
 

Author Comment

by:daiwhyte
ID: 36529291
Found references
0
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
LVL 12

Expert Comment

by:GMGenius
ID: 36529293
Open Excel
Go to help>about>disabled items, and re-enable the GoldMine addin.

In 2010 disabled items are accessed from the big round button excel options > addins
0
 

Author Comment

by:daiwhyte
ID: 36529303
This is the line which is highlighted when the VB Editor loads.

Public Function GMDataExecute(ByVal sXMLIn As String, Optional ByRef GM As GoldMine.GoldMineData = Nothing) As String

Does that mean anything to you?
0
 

Author Comment

by:daiwhyte
ID: 36529329
there is no addin within Excel 2010 to disable and its the same for 2003?
0
 
LVL 12

Expert Comment

by:GMGenius
ID: 36529415
That tells me the goldmine addin is disabled.

when you look at the references as the screen shot shows, is there anything listed "MISSING:" ?
0
 
LVL 11

Accepted Solution

by:
stevengraff earned 500 total points
ID: 36529421
Same behavior for all users?

Try uninstall/reinstall the link?

Try turning off macro security in Excel?
0
 

Author Closing Comment

by:daiwhyte
ID: 36708354
Sorry for delay, not been back at the office. Reinstalled GMLink.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question