Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there code for Visual Basics to control the width of the dropdown list for
combobox's. The list is °F and °C, which are very short widths, but the dropdown width is too large by default. A lot od wasted space. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perhaps this link may be of use to you:
http://www.contextures.com/xlDataVal10.html#ChangeProp Hope this helps. Pete "aftamath77" wrote in message ... Is there code for Visual Basics to control the width of the dropdown list for combobox's. The list is °F and °C, which are very short widths, but the dropdown width is too large by default. A lot od wasted space. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm not using data validation. This is visual basic code.
"Pete_UK" wrote: Perhaps this link may be of use to you: http://www.contextures.com/xlDataVal10.html#ChangeProp Hope this helps. Pete "aftamath77" wrote in message ... Is there code for Visual Basics to control the width of the dropdown list for combobox's. The list is °F and °C, which are very short widths, but the dropdown width is too large by default. A lot od wasted space. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The macro-recorder is your friend. Record a macro when you adjust the width
of the combobox. Example: Sub Makro1() ' ' Makro1 Makro ' Makro registrert 06.10.2008 av driftsentral ' ' ActiveSheet.Shapes("ComboBox1").Select Selection.ShapeRange.ScaleWidth 0.50, msoFalse, msoScaleFromTopLeft End Sub Tidy it up afterwards. HTH knut "aftamath77" skrev i melding ... I'm not using data validation. This is visual basic code. "Pete_UK" wrote: Perhaps this link may be of use to you: http://www.contextures.com/xlDataVal10.html#ChangeProp Hope this helps. Pete "aftamath77" wrote in message ... Is there code for Visual Basics to control the width of the dropdown list for combobox's. The list is °F and °C, which are very short widths, but the dropdown width is too large by default. A lot od wasted space. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofilter dropdown box width | Excel Discussion (Misc queries) | |||
Make Dropdown List Temporarily Wider & Same Width for Multiple Col | Excel Discussion (Misc queries) | |||
ASC() does not convert full-width to half-width letters (Exel 2003 | Excel Worksheet Functions | |||
How to make cell width different than the column width it lies in | Excel Discussion (Misc queries) | |||
Dropdown list width changing code | Excel Worksheet Functions |