Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default 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" wrote in message
o.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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Combobox Question

If not using xl97, Possibly use the dropdown event.

--
Regards,
Tom Ogilvy

"Andy" wrote in message
o.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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
another combobox question teepee Excel Discussion (Misc queries) 2 May 13th 07 01:01 AM
combobox Question Greg B Excel Discussion (Misc queries) 2 September 2nd 05 04:22 PM
ComboBox Question Kevin Excel Programming 1 December 7th 03 04:54 PM
VB question on ComboBox neeas Excel Programming 1 November 14th 03 09:54 PM
ComboBox Question Terry Detrie Excel Programming 2 October 18th 03 02:55 PM


All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"