Underscore in textbox

mikeymay

Well-known Member
Joined
Jan 17, 2006
Messages
1,600
Office Version
  1. 365
Platform
  1. Windows
Is ther a way of turning off the underscore that appears in a textbox as soon as text is entered into it?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
A text box on a userform? Do you mean the cursor?
 
Upvote 0
I have a user form with a couple of textbox's on it and when I start to enter text in either of them, an underscore across the whole textbox appears.

It's not something I have seen before so I don't know why or how it appears.

I was hoping someone else would have some experience of this?


Thanks
 
Upvote 0
Does it appear when you click in it, or only when you start typing? If the latter, is there Change event code?
 
Upvote 0
Ah, no, sorry I understand what you mean although I've never experienced it. Even if the textbox was set to underline, it would only underline the characters you actually type in, not the entire box.

Does it do that with a newly-created textbox? On a newly-created form? Wherever it's placed on the form? On someone else's machine?

Does it vanish when you hit Enter?

I'm trying to narrow down the behaviour...

Please don't feel you're alone:-
http://www.mrexcel.com/forum/showthread.php?t=99935 (no solution)
http://www.ozgrid.com/forum/showthread.php?t=88837&page=1 (suggestions re SpecialEffect and Font)
 
Upvote 0

Forum statistics

Threads
1,214,529
Messages
6,120,070
Members
448,943
Latest member
sharmarick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top