Dropdown Width

A

aftamath77

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.
 
D

DS-NTE

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top