Thread: UCASE problem
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_7_] Bob Phillips[_7_] is offline
external usenet poster
 
Posts: 1,120
Default UCASE problem

This is usually caused by a missing reference,

In the VB IDE, goto menu ToolsReferences, and you should see a checked item
that start with MISSING. Make a note of which library it is, uncheck it,
exit and re-test.

If you get problems later, you might need to find the correct version of
that library.

--
HTH

Bob Phillips

"funkymonkUK"
wrote in message
...

HI

This was working before and I have not idea where to start.

What happens is as soon as the textbox1 changes it runs the code below

Private Sub TextBox1_Change()
If correct = 1 Then Exit Sub
TextBox1.Text = UCase(TextBox1.Text)
End Sub

it keeps saying "compile error can't find project or library." and
highlights UCASE

any idea why is can't find what every it wants?


--
funkymonkUK
------------------------------------------------------------------------
funkymonkUK's Profile:

http://www.excelforum.com/member.php...o&userid=18135
View this thread: http://www.excelforum.com/showthread...hreadid=387081