PC Review


Reply
Thread Tools Rate Thread

Can’t find library

 
 
keith
Guest
Posts: n/a
 
      20th Apr 2009
This is a puzzle.
I’ve used the Mid and mid$ functions a lot,
The VBE6.DLL object library is loaded,

And the following text fails on the mid() function.
The compile error says, “Can’t find project or library”


Sub test1()

Dim a As String
Dim b As String

a = "ABCDEFGHI"
b = Mid(a, 3, 3)

End Sub

What is happening here?

keith

 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      20th Apr 2009
Could you please check the location of the first reference"Visual Basic for
Applications" that is checked in the References dialog box

If this post helps click Yes
---------------
Jacob Skaria


"keith" wrote:

> This is a puzzle.
> I’ve used the Mid and mid$ functions a lot,
> The VBE6.DLL object library is loaded,
>
> And the following text fails on the mid() function.
> The compile error says, “Can’t find project or library”
>
>
> Sub test1()
>
> Dim a As String
> Dim b As String
>
> a = "ABCDEFGHI"
> b = Mid(a, 3, 3)
>
> End Sub
>
> What is happening here?
>
> keith
>

 
Reply With Quote
 
Keith
Guest
Posts: n/a
 
      20th Apr 2009
Hi Jacob,
Thank you.

The problem is solved. It happened when I load a copy onto an older
computer and earlier version of Office.

Keith


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can´t find my incoming email jo Microsoft Outlook Discussion 1 14th Jul 2009 07:53 PM
Microsoft office access can’t find the database file Jon Microsoft Access 1 4th Mar 2009 02:53 PM
Re: I can´t find the grouping and sorting feature fredg Microsoft Access Reports 1 26th Sep 2008 04:27 PM
Contacts don’t display and I can’t find them SJ Microsoft Outlook BCM 1 17th Aug 2008 12:10 AM
"Compile Error – Can’t find project or library" using Access 2007 R Marko Microsoft Access 1 5th Jan 2008 05:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:39 AM.