Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't find project or Library - UCase/Left

Status
Not open for further replies.

SimonFinn

Programmer
Mar 13, 2003
130
GB
Hi Guys

I have just opened a previously developed project in VBA and when i run this line of code:

If UCase(strFileExtention) = ".DOC" Then

and if i use the left function i get the error "Can't find project or Library" and intellisense does not pick it up.

I thought you only needed to reference the VBA library to use this function.

Thanks Si
 
Sorry guys

It was a declaration problem that was confusing VB,

Thanks Si
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top