Underscore in textbox

mikeymay

Well-known Member
Joined
Jan 17, 2006
Messages
1,546
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 can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Ruddles

Well-known Member
Joined
Aug 24, 2010
Messages
5,795
Office Version
  1. 365
Platform
  1. Windows
A text box on a userform? Do you mean the cursor?
 

mikeymay

Well-known Member
Joined
Jan 17, 2006
Messages
1,546
Office Version
  1. 365
Platform
  1. Windows
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
 

GTO

MrExcel MVP
Joined
Dec 9, 2008
Messages
6,155
Just a shot. Increase the height of the textbox.
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
39,358
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
Does it appear when you click in it, or only when you start typing? If the latter, is there Change event code?
 

Ruddles

Well-known Member
Joined
Aug 24, 2010
Messages
5,795
Office Version
  1. 365
Platform
  1. Windows
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)
 

Forum statistics

Threads
1,176,416
Messages
5,902,973
Members
435,002
Latest member
chenmoti

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
Top