+ Reply to Thread
Results 1 to 3 of 3

Combobox Question

Hybrid View

  1. #1
    Andy
    Guest

    Combobox Question

    Hi,

    I have a cell value contained in cell B6
    I have created a combobox called ComboBox1

    My question is:
    How do I create a macro to check the value of B6 then when I click on the
    combobox drop down arrow the combobox autoupdates the list with a range of
    C1:C3 to allow selection from the range?

    Any help appreciated
    Many Thanks

    Andy



  2. #2
    Bob Phillips
    Guest

    Re: Combobox Question

    Don't understand the relationship between B6 and C1:C3.

    basic code is

    Private Sub ComboBox1_DropButtonClick()
    ComboBox1.ListFillRange = "c1:c6"
    End Sub

    --
    HTH

    Bob Phillips

    "Andy" <a@a.a> wrote in message
    news:42e64e30$0$147$7b0f0fd3@mistral.news.newnet.co.uk...
    > Hi,
    >
    > I have a cell value contained in cell B6
    > I have created a combobox called ComboBox1
    >
    > My question is:
    > How do I create a macro to check the value of B6 then when I click on the
    > combobox drop down arrow the combobox autoupdates the list with a range of
    > C1:C3 to allow selection from the range?
    >
    > Any help appreciated
    > Many Thanks
    >
    > Andy
    >
    >




  3. #3
    Tom Ogilvy
    Guest

    Re: Combobox Question

    If not using xl97, Possibly use the dropdown event.

    --
    Regards,
    Tom Ogilvy

    "Andy" <a@a.a> wrote in message
    news:42e64e30$0$147$7b0f0fd3@mistral.news.newnet.co.uk...
    > Hi,
    >
    > I have a cell value contained in cell B6
    > I have created a combobox called ComboBox1
    >
    > My question is:
    > How do I create a macro to check the value of B6 then when I click on the
    > combobox drop down arrow the combobox autoupdates the list with a range of
    > C1:C3 to allow selection from the range?
    >
    > Any help appreciated
    > Many Thanks
    >
    > Andy
    >
    >




+ 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