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

I'm troubleshooting a problem with Microsoft Excel VBA. The error is:
Compile Error can't find project or library.
It occurs in the VBA method CommandButton_ok_Click.
They are using version 2002 of Excel. This same error does not happen with
a different version of the script nor does it happen on Excel Version 2003.

I've checked the VBE's Tools-references option and the references menuItem
is
greyed out. What do I do now?

Thank you for your help in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Compile Error: Can't find project or library

Ensure that you have selected the correct project in the VBE when you select
Tools - References
As a guess it will be MS ActiveX Data Objects ...2.8
--
HTH...

Jim Thomlinson


"J.B." wrote:

I'm troubleshooting a problem with Microsoft Excel VBA. The error is:
Compile Error can't find project or library.
It occurs in the VBA method CommandButton_ok_Click.
They are using version 2002 of Excel. This same error does not happen with
a different version of the script nor does it happen on Excel Version 2003.

I've checked the VBE's Tools-references option and the references menuItem
is
greyed out. What do I do now?

Thank you for your help in advance.

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

Also make sure that your project is unlocked...
--
HTH...

Jim Thomlinson


"Jim Thomlinson" wrote:

Ensure that you have selected the correct project in the VBE when you select
Tools - References
As a guess it will be MS ActiveX Data Objects ...2.8
--
HTH...

Jim Thomlinson


"J.B." wrote:

I'm troubleshooting a problem with Microsoft Excel VBA. The error is:
Compile Error can't find project or library.
It occurs in the VBA method CommandButton_ok_Click.
They are using version 2002 of Excel. This same error does not happen with
a different version of the script nor does it happen on Excel Version 2003.

I've checked the VBE's Tools-references option and the references menuItem
is
greyed out. What do I do now?

Thank you for your help in advance.

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

Thank you.

There was a Calendar Control Object that was missing. Somehow if she
brought up the form itself it worked. (I was troubleshooting this over the
phone.)

Thank you again,

John Byrne

"Jim Thomlinson" wrote:

Ensure that you have selected the correct project in the VBE when you select
Tools - References
As a guess it will be MS ActiveX Data Objects ...2.8
--
HTH...

Jim Thomlinson


"J.B." wrote:

I'm troubleshooting a problem with Microsoft Excel VBA. The error is:
Compile Error can't find project or library.
It occurs in the VBA method CommandButton_ok_Click.
They are using version 2002 of Excel. This same error does not happen with
a different version of the script nor does it happen on Excel Version 2003.

I've checked the VBE's Tools-references option and the references menuItem
is
greyed out. What do I do now?

Thank you for your help in advance.

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
Compile error - Can't find project library ???? [email protected] Excel Programming 0 October 30th 07 08:18 PM
Compile error - Can't find project library ???? [email protected] Excel Programming 0 October 30th 07 08:18 PM
Compile error: Can't find project or library Fred Excel Programming 3 April 18th 06 08:59 AM
Compile error: Can't find project or library Vince Excel Programming 2 October 13th 05 04:50 PM
Compile error: Can't find project or library Daniel[_17_] Excel Programming 3 December 8th 04 01:05 PM


All times are GMT +1. The time now is 08:38 AM.

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

About Us

"It's about Microsoft Excel"