Always Show drop down list Of Data Validation List

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi @ifeelalone - only possible with combobox NOT cell dropdown

But there is a trick that uses a combobox placed above the cell......

The trick
- add an Active-X combobox (do not need to do anything to it)
- add a named range called MyList for the list of dropdown values and put values in that range of cells
- add the code below in the sheet module (right click on sheet tab \ View Code \ paste code in the code window \ {ALT}{F11} to go back to Excel )
- when you click on any cell the code runs and the combobox is resized and moved to sit over cell B2 and the dropdown list appears

Code:
Sub DropdownTrick()
    Dim cel As Range:       Set cel = Range("B2")
    With Me.ComboBox1
        .ListFillRange = ThisWorkbook.Names("MyList").RefersTo
        .DropDown
        .LinkedCell = cel.Address
        .Left = cel.Left
        .Top = cel.Top
        .Width = cel.Width
        .Height = cel.Height
    End With
End Sub

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Call DropdownTrick
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,173
Members
452,615
Latest member
bogeys2birdies

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