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

http://personal.cityu.edu.hk/~503965...g_errorMsg.jpg
Here is the screen of the error message I am facing. I have developed
a macro for inputting data in the platform of WinXP(Home) with office
XP. It works well in other computer of the same platform. However,
when I tried to use the macro on the older platform Win98 + office 97.
The error indicate that the library is not found. I thought the
problem was the version of the Microsoft office. So I installed a
office XP on that computer. However, problem is still occured. Is
there any way can solve my problem? Is the library belong to the
operating system or the microsoft office actually?
Do I need to upgrade the operating system to XP to solve this problem?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Compile error: Can't find project or library

I don't see how this ever worked as Clear is a method which you can apply to
certain objects, such as the Err object, it is not a value you can assign.

So try something like

VendorForm.txt_s_cid.value = ""

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Daniel" wrote in message
om...
http://personal.cityu.edu.hk/~503965...g_errorMsg.jpg
Here is the screen of the error message I am facing. I have developed
a macro for inputting data in the platform of WinXP(Home) with office
XP. It works well in other computer of the same platform. However,
when I tried to use the macro on the older platform Win98 + office 97.
The error indicate that the library is not found. I thought the
problem was the version of the Microsoft office. So I installed a
office XP on that computer. However, problem is still occured. Is
there any way can solve my problem? Is the library belong to the
operating system or the microsoft office actually?
Do I need to upgrade the operating system to XP to solve this problem?

Thanks.



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


Instead of = Clear try using = "" .

Sharad


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Compile error: Can't find project or library

If it ever worked, you had probably declared Clear and assigned it a
value of "" (i.e., a zero length string) or zero. Maybe, something
like

Const Clear as string=""

or

Dim Clear as Integer:Clear=0

That said, I probably would not use Clear as a user defined token since
there are three methods (Excel, MS Forms, and VBA) named Clear. For
which, search the XL VBA help.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
http://personal.cityu.edu.hk/~503965...g_errorMsg.jpg
Here is the screen of the error message I am facing. I have developed
a macro for inputting data in the platform of WinXP(Home) with office
XP. It works well in other computer of the same platform. However,
when I tried to use the macro on the older platform Win98 + office 97.
The error indicate that the library is not found. I thought the
problem was the version of the Microsoft office. So I installed a
office XP on that computer. However, problem is still occured. Is
there any way can solve my problem? Is the library belong to the
operating system or the microsoft office actually?
Do I need to upgrade the operating system to XP to solve this problem?

Thanks.

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 or library Melanie New Users to Excel 14 August 21st 09 02:54 AM
Can't Find Project or Library Error Vick Excel Discussion (Misc queries) 1 May 17th 08 12:25 PM
help with this error-Compile error: cant find project or library JackR Excel Discussion (Misc queries) 2 June 10th 06 09:09 PM
Compile Error, Can'f Find Project or Library therrm Excel Programming 1 November 25th 03 04:53 AM
Compile Error! Can't find project or Library --- Help! Suh Suk Ho Excel Programming 2 July 21st 03 08:26 PM


All times are GMT +1. The time now is 08:30 PM.

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"