Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Compile error when accessing a spreadsheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nat - 13 May 2008 20:05 GMT
We have an external workbook in 97-03 mode, which when we save & open brings
up a spreadsheet, labeled NoMacros, which says "if you are reading this, you
don't have macros enabled.."  from here, you can choose Security Warning
Options>Enable this content, however this just brings up a MS VB dialog box
which states "COMPILE ERROR .. Can't find project or library.  It references
the following code:

Private Sub Workbook_Open()

'Check for the "Analysis Toolpak - VBA" Addin and let them know if it needs
to be installed
gErrorName = "Deny Installation"
   If AddIns("Analysis Toolpak").Installed = False Then
       Add_Ins = MsgBox("The Addin ""Analysis Toolpak"" needs to be
installed." & vbCrLf & vbCrLf & _
                           "It will only take a moment.", vbOKCancel)

I have added teh following add-ins: Analysis ToolPak", "Analysis ToolPak -
VBA", and "Conditional Sum Wizard".  but nothing works.

When I try this in Excel 03, you just set the macro levels to low or medium,
and it never even shows the 1st tab (NoMacros).  How do I resolve this issue
in Excel 07??
Nat - 13 May 2008 23:13 GMT
It seems that if I open the same spreadsheet in 03, enable the macros and go
into VB editor>tools>references and Clear the check box for the type library
or object library marked as "Missing:" and save the workbook I can resolve
this issue.  Is there just a setting I can select in 07, that will allow me
to avoid this step in the future?  I have played with all the macro and trust
center settings but the only thing that seems to work is to open & save in
Office 03.  Help!!

> We have an external workbook in 97-03 mode, which when we save & open brings
> up a spreadsheet, labeled NoMacros, which says "if you are reading this, you
[quoted text clipped - 19 lines]
> and it never even shows the 1st tab (NoMacros).  How do I resolve this issue
> in Excel 07??

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.