![]() |
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. |
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. |
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. |
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? |
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? |
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. |
All times are GMT +1. The time now is 01:47 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com