Wider drop down list

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.
Joined
Jul 1, 2005
Messages
8,546
Did it do nothing at all? For me it temp widens the validation column. Maybe you're after something else entirely.
 

SpiffyMasta

Thread Starter
Joined
Aug 4, 2004
Messages
117
Nevermind, comboboxes are dumb.

What numbers do I need to change to adjusts to my needs? I'm not sure what each number is for
 

SpiffyMasta

Thread Starter
Joined
Aug 4, 2004
Messages
117
Lol ok. Well see what I'm trying to do is adjust the size of the drop down list so you see the whole name. The size of my cell has to stay the same.

I'm tinkering with the code you pointed to, trying to have it so only a set range changes size. Right now it looks like this. I used to be good at coding, but haven't done it in years.

Dim SelRng As Range
Set SelRng = ActiveSheet.Range("$H$3:$AU$3")
If Target.Count > 1 Then Exit Sub
If Target.Range = SelRng Then
Target.Range.ColumnWidth = 20
Else
SelRng.ColumnWidth = 5.57
End If
End Sub
 

SpiffyMasta

Thread Starter
Joined
Aug 4, 2004
Messages
117
Still unsolved.

I've actually started doing some reading into VBA coding. Hopefully that can help.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top