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

I have a list of data in a worksheet. I want to create a drop down box, in
several separate worksheets within the same work book, containing the list.
Whenever an item is chosen from the list I want the title of that worksheet
to be inserted into the cell to the right of the chosen item. The same item
can be chosen more than once.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Control Tools

Private Sub Combobox1_Click()
Dim rng as Range
Dim cell as Range
set rng = Combobox1.ListFillRange
set cell = rng(combobox1.ListIndex + 1,2)
do while not isempty(cell)
set cell = cell.offset(0,1)
Loop
cell.Value = Me.Name
End Sub


--
Regards,
Tom Ogilvy


"Nicole Buckner" <Nicole wrote in message
...
I have a list of data in a worksheet. I want to create a drop down box,

in
several separate worksheets within the same work book, containing the

list.
Whenever an item is chosen from the list I want the title of that

worksheet
to be inserted into the cell to the right of the chosen item. The same

item
can be chosen more than once.



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
Use of Control Tools Kathy New Users to Excel 4 January 26th 05 06:59 PM
Disable Control in Tools Menu Juan Sanchez[_3_] Excel Programming 4 September 30th 04 09:40 PM
Calendar Control: Can't exit design mode because control can't be created Rone Excel Programming 0 May 24th 04 04:01 PM
Shareware Edwin's Power Tools decompiled and became Excel PowerPlus Tools Edwin Tam (MS MVP) Excel Programming 28 November 17th 03 05:43 AM
Selecting/Activating Control Tools Combobox on Sheet steve Excel Programming 5 October 10th 03 10:38 PM


All times are GMT +1. The time now is 06:14 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"