![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
i use a combo box in an excel worksheet.
How can i past a combo box in a cell so that when i chance the height or the width of the cell, also the measurements of the combo box changes. |
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
Assuming your ComBobox is already aligned with a cell, name the cell then use some code like: Private Sub ComboBox1_DropButt*******() With ComboBox1 .Width = Range("Mine").Width .Height = Range("Mine").Height .Left = Range("Mine").Left End With End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|