Underscore in textbox

mikeymay

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

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Ruddles

Well-known Member
Joined
Aug 24, 2010
Messages
5,786
A text box on a userform? Do you mean the cursor?
 

mikeymay

Well-known Member
Joined
Jan 17, 2006
Messages
1,490
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,154
Just a shot. Increase the height of the textbox.
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
37,346
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,786
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,141,295
Messages
5,705,540
Members
421,399
Latest member
hjweiss00

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