Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default selecting names in a list

Hi,
I have a very large list of names in alphabetical order. Is there a
way to create some kind of drop down or list selection box whereby I
can begin typing the first one or two initials of a persons name and
the list box will filter only the names that fit so I can easily
select the one I want?
thanks in advance for any help..
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default selecting names in a list

john taiariol laid this down on his screen :
Hi,
I have a very large list of names in alphabetical order. Is there a
way to create some kind of drop down or list selection box whereby I
can begin typing the first one or two initials of a persons name and
the list box will filter only the names that fit so I can easily
select the one I want?
thanks in advance for any help..


Check this out...

http://www.contextures.com/xlDataVal14.html

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default selecting names in a list

On Apr 6, 1:31*am, GS wrote:
john taiariol laid this down on his screen :

Hi,
I have a very large list of names in alphabetical order. Is there a
way to create some kind of drop down or list selection box whereby I
can begin typing the first one or two initials of a persons name and
the list box will filter only the names that fit so I can easily
select the one I want?
thanks in advance for any help..


Check this out...

*http://www.contextures.com/xlDataVal14.html

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Sub gotoltr()
lr = Cells(Rows.Count, 1).End(xlUp).Row
x = UCase(Range("c1"))
'MsgBox x
ml = Len(x)
'MsgBox ml
For Each C In Range("a5:a" & lr)
'MsgBox Left(c, ml)
If Left(Trim(UCase(C.Value)), ml) = x Then
' MsgBox c.Row
Exit For
End If
Next
Cells(C.Row, 1).Select
End Sub

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$C$1" Then Call gotoltr
End Sub
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default selecting names in a list

On Apr 6, 12:55*pm, Donald Guillett wrote:
On Apr 6, 1:31*am, GS wrote:





john taiariol laid this down on his screen :


Hi,
I have a very large list of names in alphabetical order. Is there a
way to create some kind of drop down or list selection box whereby I
can begin typing the first one or two initials of a persons name and
the list box will filter only the names that fit so I can easily
select the one I want?
thanks in advance for any help..


Check this out...


*http://www.contextures.com/xlDataVal14.html


--
Garry


Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Sub gotoltr()
lr = Cells(Rows.Count, 1).End(xlUp).Row
x = UCase(Range("c1"))
'MsgBox x
ml = Len(x)
'MsgBox ml
For Each C In Range("a5:a" & lr)
'MsgBox Left(c, ml)
If Left(Trim(UCase(C.Value)), ml) = x Then
' MsgBox c.Row
Exit For
End If
Next
Cells(C.Row, 1).Select
End Sub

Private Sub Worksheet_Change(ByVal Target As Range)
* If Target.Address = "$C$1" Then Call gotoltr
End Sub- Hide quoted text -

- Show quoted text -


thanks for the reply, how do initiate this program?
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
Macro: selecting ranges from list of names Antman Excel Programming 2 October 11th 08 05:25 PM
Selecting tabs - tab names given in a list Marc T Excel Programming 0 April 21st 08 03:09 PM
create a random list of names from a list of names in EXCEL Givvie Excel Worksheet Functions 2 October 23rd 06 05:10 AM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
Selecting ALL names when using Insert/Names/Apply Mike Excel Worksheet Functions 3 April 23rd 05 05:20 PM


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