Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't find project of library | Excel Discussion (Misc queries) | |||
Can't find project or library | Excel Programming | |||
Can't find project or library | Excel Discussion (Misc queries) | |||
cant find project or library | Excel Programming | |||
Can't find project or library | Excel Programming |