Each time excel opens, I get VB error

Posted on 2011-09-13
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?

Question by:daiwhyte
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
LVL 16

Expert Comment

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.  

Author Comment

ID: 36529289
Wrere do I the references to?

Author Comment

ID: 36529291
Found references
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

LVL 12

Expert Comment

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

Author Comment

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?

Author Comment

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

Expert Comment

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:" ?
LVL 11

Accepted Solution

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

Try uninstall/reinstall the link?

Try turning off macro security in Excel?

Author Closing Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

705 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