+ Reply to Thread
Results 1 to 11 of 11

Combobox_change does not repond?

Hybrid View

  1. #1
    NickHK
    Guest

    Re: Combobox_change does not repond?

    Sige,
    I would assume that as you are not Changing the combo box text (typing in
    the edit portion).
    Try the Click event instead.

    NickHK

    "Sige" <[email protected]> wrote in message
    news:[email protected]...
    > Hi There,
    >
    > I load a combobox with my fonts but would like it to update my range
    > "text" upon changing it ...
    >
    > When I "run" the sub it works!!! ... but not when I just change my
    > selection.
    >
    > Private Sub ComboBox1_Change()
    > On Error Resume Next
    > ThisWorkbook.Sheets("Fonts").Range("Text").Font.Name =
    > ComboBox1.Value
    > End Sub
    >
    > Anyone?
    >
    > Brgds Sige
    > XL97-Sr2
    >




  2. #2
    Sige
    Guest

    Re: Combobox_change does not repond?

    Hi Nick,
    Thanks for the advice ... I tried Click & DropButtonClick.
    But with the same result!

    (Though, here again: When running the "sub" explicitely it works like a
    charm)

    Any other possible reason?

    BRGDS Sige



    Private Sub ComboBox1_Click()
    On Error Resume Next
    Sheets("Fonts").Range("Text").Font.Name = ComboBox1.Value
    End Sub

    Private Sub ComboBox1_DropButtonClick()
    On Error Resume Next
    Sheets("Fonts").Range("Text").Font.Name = ComboBox1.Value
    End Sub


  3. #3
    NickHK
    Guest

    Re: Combobox_change does not repond?

    Sige,
    Are you using the combo box from the Forms or Controls tool box ?

    NickHK

    "Sige" <[email protected]> wrote in message
    news:[email protected]...
    > Hi Nick,
    > Thanks for the advice ... I tried Click & DropButtonClick.
    > But with the same result!
    >
    > (Though, here again: When running the "sub" explicitely it works like a
    > charm)
    >
    > Any other possible reason?
    >
    > BRGDS Sige
    >
    >
    >
    > Private Sub ComboBox1_Click()
    > On Error Resume Next
    > Sheets("Fonts").Range("Text").Font.Name = ComboBox1.Value
    > End Sub
    >
    > Private Sub ComboBox1_DropButtonClick()
    > On Error Resume Next
    > Sheets("Fonts").Range("Text").Font.Name = ComboBox1.Value
    > End Sub
    >




  4. #4
    Sige
    Guest

    Re: Combobox_change does not repond?

    Control Toolbox ... :o(


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1