Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default macro & combobox

Hello,
I have a worksheet containing some data in 1st column. In
1st cell of 2nd column I have a combobox (the input range
is on a different sheet in same workbook). I'd like to
fill active cell (selected from remaining cells of 2nd
column) chosing an item from this combobox. How should I
make a macro to do this?
Thanks for support!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro & combobox

for an activeX combobox:
Private Sub Combobox1_Click()
ActiveCell.Value = Combobox1.Value
End Sub

There are three types of comboboxes - you need to say which type. If Data
validation, it doesn't work that way.

--
Regards,
Tom Ogilvy


"pandino" wrote in message
...
Hello,
I have a worksheet containing some data in 1st column. In
1st cell of 2nd column I have a combobox (the input range
is on a different sheet in same workbook). I'd like to
fill active cell (selected from remaining cells of 2nd
column) chosing an item from this combobox. How should I
make a macro to do this?
Thanks for support!



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
For Each Combobox jlclyde Excel Discussion (Misc queries) 3 September 10th 09 05:06 PM
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
Macro that Finds the First Value in a range using a Combobox (drop down menu) [email protected] Excel Worksheet Functions 2 July 12th 07 07:50 PM
combobox value flow23 Excel Discussion (Misc queries) 0 April 26th 06 12:21 PM
Sort Macro: Utilizing ComboBox Selection for Key1 through 3 Ranges buddhapenguin Excel Discussion (Misc queries) 0 May 13th 05 03:01 PM


All times are GMT +1. The time now is 02:34 PM.

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"