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


Can anyone suggest a method of inserting a Combobox or
listbox within a whole lot of cells?

Ie. When i click on the cell, a list appears whereby i
can choose from a number of codes and the selected code
will appear on the cell that was clicked.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Inserting a Listbox in a cell

Try Data Validation

In B1:B5 enter a, b, c, d, e
Select A1
From the Data menu, choose Validation
In the Allow dropdown box, choose List
For Source: =B1:B5
Click OK

Now whenever you select A1, you get a dropdown list (which is enforced)
If you don't want it enforced then on the Error Alert tab untick the Show
error alert tickbox

If you want to use a lookup list from another sheet then you have to make
the list a named range.

eg. If Sheet2!B1:B5 has a name of my_list
For Source: =my_list



--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Xavier S." wrote in message
...

Can anyone suggest a method of inserting a Combobox or
listbox within a whole lot of cells?

Ie. When i click on the cell, a list appears whereby i
can choose from a number of codes and the selected code
will appear on the cell that was clicked.




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
Filtering a Listbox from a cell value (Re-posted) NoodNutt Excel Worksheet Functions 0 February 26th 08 09:06 AM
listbox B conditional of input in Listbox A Kim K Excel Discussion (Misc queries) 1 October 31st 06 08:27 PM
Listbox NOT in cell Tweedy Excel Discussion (Misc queries) 0 November 25th 05 10:32 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Is refreshing listbox rowsource in listbox click event possible? Jeremy Gollehon[_2_] Excel Programming 4 September 25th 03 06:45 PM


All times are GMT +1. The time now is 04:19 AM.

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"