Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
dear all, may i know which part to disappear the dropdown arrow after input
the data in the cell? thanks alot Option Base 1 Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Not Intersect(Target, Columns("E")) Is Nothing Then Call AddDropDown(Target) Cancel = True End If End Sub Sub AddDropDown(Target As Range) Dim ddBox As DropDown Dim i As Integer Dim lookuplist As Variant lookuplist = Array(Sheet1.Cells.Range("a2:a300")) With Target Set ddBox = Sheet4.DropDowns.Add(.Left, .Top, .Width, .Height) End With With ddBox For i = LBound(lookuplist) To UBound(lookuplist) .AddItem lookuplist(i) Next i End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I make a 3-dimensional plot in Excel? | Charts and Charting in Excel | |||
how do I make make my hyperlinks show the email address they are . | Excel Discussion (Misc queries) | |||
make a cell empty based on condition | Charts and Charting in Excel | |||
How to make this plot? | Charts and Charting in Excel | |||
dropdown value from range in other sheet | Excel Worksheet Functions |