A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Dropdown List That Accepts Other User Input



 
 
Thread Tools Display Modes
  #1  
Old April 4th, 2010, 12:00 AM posted to microsoft.public.excel.misc
GEdwards
external usenet poster
 
Posts: 17
Default Dropdown List That Accepts Other User Input

I cannot find if there is a way to have a dropdown list that contains
pre-defined data validation entries and also allow a user to input their own.

Is there a way to do this in Excel?

  #2  
Old April 4th, 2010, 01:03 AM posted to microsoft.public.excel.misc
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Dropdown List That Accepts Other User Input

Yes.

Uncheck "Show error alert"

The user-input will not be added to the list permanently.

If you want that you will require some VBA code.

See Debra Dalgleish's site for a sample workbook.

http://www.contextures.on.ca/excelfiles.html#DV0012


Gord Dibben MS Excel MVP

On Sat, 3 Apr 2010 16:00:01 -0700, GEdwards
wrote:

I cannot find if there is a way to have a dropdown list that contains
pre-defined data validation entries and also allow a user to input their own.

Is there a way to do this in Excel?


  #3  
Old April 4th, 2010, 03:51 AM posted to microsoft.public.excel.misc
ozgrid.com
external usenet poster
 
Posts: 328
Default Dropdown List That Accepts Other User Input

Yes, change the Error Alert to Information.



--
Regards
Dave Hawley
www.ozgrid.com
"GEdwards" wrote in message
...
I cannot find if there is a way to have a dropdown list that contains
pre-defined data validation entries and also allow a user to input their
own.

Is there a way to do this in Excel?


  #4  
Old April 4th, 2010, 03:54 AM posted to microsoft.public.excel.misc
GEdwards
external usenet poster
 
Posts: 17
Default Dropdown List That Accepts Other User Input

Thanks Gord. This does the work I need and I have also bookmarked the site
you suggested for future reference.

"Gord Dibben" wrote:

Yes.

Uncheck "Show error alert"

The user-input will not be added to the list permanently.

If you want that you will require some VBA code.

See Debra Dalgleish's site for a sample workbook.

http://www.contextures.on.ca/excelfiles.html#DV0012


Gord Dibben MS Excel MVP

On Sat, 3 Apr 2010 16:00:01 -0700, GEdwards
wrote:

I cannot find if there is a way to have a dropdown list that contains
pre-defined data validation entries and also allow a user to input their own.

Is there a way to do this in Excel?


.

  #5  
Old April 4th, 2010, 07:32 PM posted to microsoft.public.excel.misc
מיכאל (מיקי) אבידן
external usenet poster
 
Posts: 562
Default Dropdown List That Accepts Other User Input

With all due respect - when the OP asks [quote]:
"...and also allow a user to input their own" - I, and probably 99% of the
supporters in this D.G., would guess he DOES NOT want and/or need ANY KIND of
alert about an "Illegal Value..."
Micky


"ozgrid.com" wrote:

Yes, change the Error Alert to Information.



--
Regards
Dave Hawley
www.ozgrid.com
"GEdwards" wrote in message
...
I cannot find if there is a way to have a dropdown list that contains
pre-defined data validation entries and also allow a user to input their
own.

Is there a way to do this in Excel?


  #6  
Old April 5th, 2010, 05:45 AM posted to microsoft.public.excel.misc
JB
external usenet poster
 
Posts: 115
Default Dropdown List That Accepts Other User Input

http://boisgontierjacques.free.fr/fi...AjoutListe.xls

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 And Target.Count = 1 Then
If Target "" Then
If IsError(Application.Match(Target.Value,[Liste], 0)) Then
If MsgBox("Add?", vbYesNo) = vbYes Then[Liste].End(xlDown).Offset(1, 0) = Target.Value
Sheets("Liste").[Liste].Sort key1:=Sheets("Liste").Range("A2")
Else
Application.Undo
End If
End If
End If
End If
End Sub

Named range:
=Offset(Liste!$A$2,,,CountA(Liste!$A:$A)-1)

JB


On 4 avr, 01:00, GEdwards wrote:
I cannot find if there is a way to have a dropdown list that contains
pre-defined data validation entries and also allow a user to input their own.

Is there a way to do this in Excel?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.