Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 262
Default Cant find library

This is a puzzle.
Ive 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, Cant 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Cant find library

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.
Ive 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, Cant 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 262
Default Cant find library

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
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 or library NickHK Excel Programming 0 December 20th 06 05:40 AM
SS has external ref. I want to delete but I cant find it anywhere JSNoyes Charts and Charting in Excel 5 October 6th 06 02:48 PM
cannot find project or library glyn Excel Programming 1 March 23rd 06 04:31 PM
Can't find project or library salut Excel Programming 1 March 22nd 06 10:10 PM
Cant find project or library Swift2003[_3_] Excel Programming 1 April 14th 04 10:20 PM


All times are GMT +1. The time now is 07:15 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"