Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Can't find project or library

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Can't find project or library

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

NickHK

"Paul Dennis" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Can't find project or library

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?

"NickHK" wrote:

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

NickHK

"Paul Dennis" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find project of library MG Excel Discussion (Misc queries) 3 May 19th 08 12:06 AM
Can't find project or library salut Excel Programming 1 March 22nd 06 10:10 PM
Can't find project or library Tracey Excel Discussion (Misc queries) 4 January 5th 05 05:19 PM
cant find project or library Rog[_3_] Excel Programming 4 December 16th 04 12:26 PM
Can't find project or library Roy[_5_] Excel Programming 2 February 22nd 04 03:48 PM


All times are GMT +1. The time now is 11:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"