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

is there someway to institute autocomplete using a userform? so if the user
starts typing the names or acct number it narrows the selection. or just use
a dropdown. might be used for time of day, too. i am looking for the best
way to populate the userform.

any thoughts?

thanks
--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default userform question

I know that the ComboBox Control has an MatchEntry property that can be
set to one of three parameters. One of those is
fmMatchEntryFirstLetter. When this is selected then the combobox jumps
to the area in your list that begins with the same letter entered in
the ComboBox. Other than that I am not aware of a VBA function that
mimics Excel's ability to intuit a user's intention.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default userform question

that may be ok, thanks

--


Gary


"Mark" wrote in message
oups.com...
I know that the ComboBox Control has an MatchEntry property that can be
set to one of three parameters. One of those is
fmMatchEntryFirstLetter. When this is selected then the combobox jumps
to the area in your list that begins with the same letter entered in
the ComboBox. Other than that I am not aware of a VBA function that
mimics Excel's ability to intuit a user's intention.



  #4   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default userform question

Using a comboBox is the way to go with this. And MatchEntry property is
where it is set. I think that using the fmMatchEntryComplete is the best way
to do what you're looking for. Entering the first letter "B" brings up the
first item starting with b in the list. Then you can enter "i" to have the
first item starting with "bi".

fmMatchFirstLetter only lets you select the first item starting with a given
letter, but doesn't narrow things with each additional letter. It just keeps
showing the first item for each letter entered.

Hope that helps


"Mark" wrote:

I know that the ComboBox Control has an MatchEntry property that can be
set to one of three parameters. One of those is
fmMatchEntryFirstLetter. When this is selected then the combobox jumps
to the area in your list that begins with the same letter entered in
the ComboBox. Other than that I am not aware of a VBA function that
mimics Excel's ability to intuit a user's intention.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default userform question


Gary Keramidas wrote:
that may be ok, thanks

--


Gary


"Mark" wrote in message
oups.com...
I know that the ComboBox Control has an MatchEntry property that can be
set to one of three parameters. One of those is
fmMatchEntryFirstLetter. When this is selected then the combobox jumps
to the area in your list that begins with the same letter entered in
the ComboBox. Other than that I am not aware of a VBA function that
mimics Excel's ability to intuit a user's intention.


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
Question regarding UserForm TotallyConfused Excel Discussion (Misc queries) 0 September 3rd 09 09:38 PM
Another Userform question. ingleg Excel Discussion (Misc queries) 1 July 6th 06 01:17 PM
Userform Question - is this possible? Stuart[_21_] Excel Programming 2 March 23rd 05 10:04 PM
UserForm Question bforster1[_25_] Excel Programming 1 November 6th 04 01:21 PM
Userform Question Ryan Excel Programming 2 April 30th 04 02:48 AM


All times are GMT +1. The time now is 05:50 PM.

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"