Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Creating a drop down list with a multitude of entries selected

Hi,

Is it possible to create a drop down list in Excel where you could "check" a
multitude of entries from the list? When you would view the drop down list
you would see all the entries that have been selected. For example if I had
a drop down list showing when a certain task is being done (ie. daily,
weekly, monthly, annualy, etc.) the user would have the possibility to select
more than one option in the list and a check mark would appear next to it for
example. Your help is greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 99
Default Creating a drop down list with a multitude of entries selected

Hi,
You need a macro to do this for you. Try the following code which will put
the contents of a dropdown list into the cell to the right. Change the
Target.Offset values to alter the position.

Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngDV As Range
If Target.Count 1 Then GoTo exitHandler
Application.EnableEvents = False

On Error Resume Next
Set rngDV = Cells.SpecialCells(xlCellTypeAllValidation)
On Error GoTo exitHandler
If rngDV Is Nothing Then GoTo exitHandler
If Intersect(Target, rngDV) Is Nothing Then
'do nothing
Else
If Target.Value = "" Then GoTo exitHandler
If Target.Offset(0, 1).Value = "" Then
Target.Offset(0, 1).Value = Chr(149) & Target.Value
Else
Target.Offset(0, 1).Value = _
Target.Offset(0, 1).Value _
& Chr(10) & Chr(149) & Target.Value
End If
End If

exitHandler:
Application.EnableEvents = True
End Sub

Dave

"run2live" wrote:

Hi,

Is it possible to create a drop down list in Excel where you could "check" a
multitude of entries from the list? When you would view the drop down list
you would see all the entries that have been selected. For example if I had
a drop down list showing when a certain task is being done (ie. daily,
weekly, monthly, annualy, etc.) the user would have the possibility to select
more than one option in the list and a check mark would appear next to it for
example. Your help is greatly appreciated.

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
How can I add to a drop down list after I have selected it? Mee Excel Discussion (Misc queries) 4 November 24th 08 06:09 AM
Creating a list with entries from cells and manual entry too Rims Excel Discussion (Misc queries) 2 August 26th 08 08:58 AM
How many entries can be put into a drop down list in excel? Mary A Excel Worksheet Functions 1 July 26th 06 09:06 PM
Value selected on drop down list, look-up on different sheet liseladele Excel Worksheet Functions 3 March 22nd 06 02:24 AM
Searching a list with repeat entries and creating a sum Brian Connolly Excel Discussion (Misc queries) 1 February 3rd 05 09:41 PM


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