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


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." an
highlights UCASE

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

--
funkymonkU
-----------------------------------------------------------------------
funkymonkUK's Profile: http://www.excelforum.com/member.php...fo&userid=1813
View this thread: http://www.excelforum.com/showthread.php?threadid=38708

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default UCASE problem


What had happened was I created this in Excel 97 and took it home t
work on Excel 2000 and some how when I saved it it changed th
reference which was pointing the the outlook 98 reference to look a
outlook 9 reference. I discovered this by openning up reference unde
the tools part in VBE and saw a reference starting with MISSING
unticked it and then select the correct version I am using now it i
working once again

--
funkymonkU
-----------------------------------------------------------------------
funkymonkUK's Profile: http://www.excelforum.com/member.php...fo&userid=1813
View this thread: http://www.excelforum.com/showthread.php?threadid=38708

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default UCASE problem

funkymonkUK,
Check the ToolsReferences for a "MISSING".
May be the cause of your dr. watson error also.

NickHK

"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



  #4   Report Post  
Posted to microsoft.public.excel.programming
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



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
Ucase / macros MrDave Excel Discussion (Misc queries) 1 July 26th 09 11:07 AM
Get…UCase or LCase ??? Totmos Excel Programming 0 January 8th 04 07:09 PM
Get…UCase or LCase ??? Totmos Excel Programming 2 January 8th 04 06:15 PM
UCase in textbox, help CAA[_4_] Excel Programming 10 December 18th 03 04:02 PM
UCase Help holder2k[_2_] Excel Programming 2 November 22nd 03 03:35 PM


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