Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: combo box

  1. #1
    Guest

    Default

    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. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •