Can't find project or library

G

Guest

I have an excel sheet that works for 90% of people, however some are getting
a vb error "Compile Error" "Can't find project or library"

I can't reproduce the error but I have seen it happen. It always points to
this bit of vb and they don't have to click on this cell it can be any cell.

For me it can't be the vb itself since everyone would get it, so I'm
assuming it's a setting thing. I have checked that they are using the same
date / language as me and macros are enabled so I am at a loss.

This is the vb code

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$I$30" Then 'Change this
Calendar1.Visible = True
Calendar1.Value = Date
Else
Calendar1.Visible = False
End If
End Sub
 
N

NickHK

Paul,
Isn't the Calendar control part of Access ?
Do they have that installed ?

NickHK
 
G

Guest

Funny you should mention that as I have Access installed and all is ok, but
the person inquestion doesn't.

I don't want to get everyone to install MS Access, hence is there another way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top