Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default AutoComplete Entry in Text Box or Drop Down List

I am creating a report in Excel which i am linking to a database containing
part numbers and descriptions. My question is how can i program a text box
or drop down list to "auto complete" a part number after typing the first
three characters of a part number. Or, better yet is there a way i can
populate a drop down list of part numbers that begin with the first three
typed characters of the part number. Any suggestions or comments are greatly
appreciated, thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default AutoComplete Entry in Text Box or Drop Down List

How is the report linked?

Are you using a user form?

I think a combobox from the Control Toolbox in Excel 2000 can do that.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default AutoComplete Entry in Text Box or Drop Down List

to create the link to the database i created a recordset object:
Dim rs as Recordset
rs=CreateObject("ADODB.Recordset")
rs.Open "TableName", "ConnectionName"

I am not using a user form, I am trying to fill excel cells with info from
the acess database. I could set a range of cells in excell to be the source
for the Combo box but i dont want the overhead created by bring info over
from the database to excell and then using that to fill the combo box. there
are over 50,000 database entries in the Recordset, so i may have to look at
this problem from a different angle....

"dan dungan" wrote:

How is the report linked?

Are you using a user form?

I think a combobox from the Control Toolbox in Excel 2000 can do that.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default AutoComplete Entry in Text Box or Drop Down List

I'm wondering what stops you from creating the report in Access.

Does the Excel report do something that Access doesn't do?

Is it that the users don't have Access or are more familiar with Excel?
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default AutoComplete Entry in Text Box or Drop Down List

I'm trying to created the report in Excel because I'm more familiar with that
than i am with access. Maybe i should familiarize myself with access and see
if it would be easier to finish my project with it.

"dan dungan" wrote:

I'm wondering what stops you from creating the report in Access.

Does the Excel report do something that Access doesn't do?

Is it that the users don't have Access or are more familiar with Excel?



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default AutoComplete Entry in Text Box or Drop Down List

In my project, I'm going the other way. I take excel data and make the
report in Access. I like the report feature in access because you can
stop users from changing the layout. Also you can have multiple users
at the same time.

It's more difficult to set up initially. But once it's finished, it's
solid.

You could put a combo box on a form in access and launch the report
based on a query.

I'm trying to figure out how to move the whole project to Access.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default AutoComplete Entry in Text Box or Drop Down List

I have the same challenge as Kevin E.

Access is not an option because the users' work environment of choice
is Excel. But in my app they work in a multi-user architecture as all
the data is saved and retrieved from a central SQL Server database,
which would be where the look up table for the list sits.

The aim, for me, is something like how eg. iTunes Store auto-
completes. The key challenges a get Excel to send the part entered
into a cell so far - on hitting each character. Perhaps populate a
(reusable) range with the returned recordset (via ADO as Kevin
describes) which is the source for an in-cell dropdown.

Any ideas please? Kevin? Anyone got an existing sample?

Hiran

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
drop down list autocomplete mikelmendit Excel Worksheet Functions 6 October 10th 08 10:18 PM
LIST ENTRY ENABLE DROP DOWN LIST TO ACCEPT MORE THAN 1 ENTRY Frank Excel Discussion (Misc queries) 2 September 18th 08 10:31 PM
how do I link a drop down list entry to a new drop down cell? lmunzen Excel Discussion (Misc queries) 1 August 15th 06 04:59 PM
autocomplete from a drop down list Dude Excel Discussion (Misc queries) 1 December 8th 04 03:29 AM
AutoComplete? Drop Down List? Please Advise Jim[_21_] Excel Programming 0 August 19th 03 07:10 PM


All times are GMT +1. The time now is 02:39 AM.

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"