#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Combo Boxes

I have a combo box called city populated with a list of
cities, when I select a city I want to populate cell B2 on
sheet 2 with the value in the combo boxes, I presume it
would go in the after update of the combo box but what is
the syntax
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Combo Boxes

You don't say whether the combo box is on a userform or a worksheet or, if
the latter, it is from the Forms toolbar or the Control Toolbox.

Assuming a Control Toolbox control on a worksheet (Sheet1):

Sheet2.Range("B2") = Sheet1.ComboBox1

--

Vasant


"Nigel Bennett" wrote in message
...
I have a combo box called city populated with a list of
cities, when I select a city I want to populate cell B2 on
sheet 2 with the value in the combo boxes, I presume it
would go in the after update of the combo box but what is
the syntax



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Combo Boxes

if it just a worksheet i use the cell link reference and
in cell b2=choose(cell link,city one,city two,city
three,.....)
-----Original Message-----
You don't say whether the combo box is on a userform or a

worksheet or, if
the latter, it is from the Forms toolbar or the Control

Toolbox.

Assuming a Control Toolbox control on a worksheet

(Sheet1):

Sheet2.Range("B2") = Sheet1.ComboBox1

--

Vasant


"Nigel Bennett" wrote in message
...
I have a combo box called city populated with a list of
cities, when I select a city I want to populate cell B2

on
sheet 2 with the value in the combo boxes, I presume it
would go in the after update of the combo box but what

is
the syntax



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Combo Boxes

Using the syntax Brand.Range("B1") = Brand.colist

I get an error message as follows

Run Time Error 424
Object Required

Thanks

Nigel



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Combo Boxes

What is "Brand"?

--

Vasant

"Nigel Bennett" wrote in message
...
Using the syntax Brand.Range("B1") = Brand.colist

I get an error message as follows

Run Time Error 424
Object Required

Thanks

Nigel



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Combo Boxes

It is the name of the sheet but I solved the issue, you can enter the
linked cell on the combo box properties

Thanks
Nigel Bennett

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Getting Combo boxes to change options based on other Combo boxes. Ancient Wolf New Users to Excel 1 March 27th 09 06:29 PM
Combo boxes sedonovan Excel Discussion (Misc queries) 2 June 28th 06 12:57 PM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
Questions on combo boxes and list boxes. Marc New Users to Excel 1 March 14th 06 09:40 AM
List boxes/combo boxes Tibow Excel Programming 3 February 17th 04 12:35 PM


All times are GMT +1. The time now is 01:00 AM.

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

About Us

"It's about Microsoft Excel"