ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I change the width of the data validation list box? (https://www.excelbanter.com/excel-discussion-misc-queries/40925-how-do-i-change-width-data-validation-list-box.html)

Davy Lawson

How do I change the width of the data validation list box?
 
I use data validation to select data entries. The width of the list box is
different in some worksheets. How do I control the width to expand when there
is longer text in the list range?

Dave Peterson

That box's width is determined by the width of the cell that has the
Data|Validation.

Can you widen the column?

Can you (ugh) merge some cells?

Davy Lawson wrote:

I use data validation to select data entries. The width of the list box is
different in some worksheets. How do I control the width to expand when there
is longer text in the list range?


--

Dave Peterson

Debra Dalgleish

Or, if you can use programming, you could use a SelectionChange event to
temporarily widen the column. There are some instructions he

http://www.contextures.com/xlDataVal08.html#Wider

Dave Peterson wrote:
That box's width is determined by the width of the cell that has the
Data|Validation.

Can you widen the column?

Can you (ugh) merge some cells?

Davy Lawson wrote:

I use data validation to select data entries. The width of the list box is
different in some worksheets. How do I control the width to expand when there
is longer text in the list range?





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 10:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com