Auto complete combobox on sheet

Opus

New Member
Joined
Mar 31, 2010
Messages
33
I would like to ask if any on knows wher I can get some VBA to Auto complete combobox on sheet, but what I will ask is, is it possible and if I have to use ActiveX how do I do that?
Excel 2003 XP
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Found I think I need to use a Data Validation Combo box using Named Ranges but still I would like to have a combo box that the user can select from but now I need a Dynamic Named Range I have a header , data starts Cells(2,1) and has dynamic columns and rows, not all cells are >0 for columns but row1 column 1 is always >0, cells contain text and numeric.

Can any one help, I know it's proberbly easy but your replies help and if you don't mind I would like to discuss the code so I learn and stop asking stupid Questions
 
Upvote 0
Dynamic Named Range

I need to learn how to set a named range, where is the best place to learn this?

Code:
Sub DRange()
Dim NumRows As Integer
Dim Data As Range
Dim Suppliers As Worksheet
Set Data = Range("A2:T")
NumRows = Data.Rows.Count
Suppliers.Data.Resize(NumRows).Select
End Sub

Am I on the right track? and how would I name the work sheet.

Thanks
 
Upvote 0
Re: Dynamic Named Range

Opus,

I find find it very difficult to figure out what you are asking. Do you want to populate a combobox?
Do you want a combobox to show the the list when new items are added?

Colin
 
Upvote 0
Both but a control combo box. Sorry if I am difficult to understand I realy don't mean too be.
1 How do I conect a named range "NAME" to a control combo box?
 
Upvote 0
is the combobox on a worksheet?
if so, in the properties, 'Listfillrange' use the name of the named range.

if it is on a userform use the 'Rowsource' property

Colin
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,580
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top