Link to home
Start Free TrialLog in
Avatar of daiwhyte
daiwhyteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Each time excel opens, I get VB error

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
Avatar of carsRST
carsRST
Flag of United States of America image

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
Avatar of daiwhyte

ASKER

Wrere do I the references to?
Found references
Avatar of GMGenius
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
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?
there is no addin within Excel 2010 to disable and its the same for 2003?
That tells me the goldmine addin is disabled.

when you look at the references as the screen shot shows, is there anything listed "MISSING:" ?
ASKER CERTIFIED SOLUTION
Avatar of Steven Graff
Steven Graff
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry for delay, not been back at the office. Reinstalled GMLink.