Good morning
I have a hidden combo that is populated as follows (by clicking Run in the VB editor) and used to work on about 9 different worksheets, I have added 2 items to the combo list and now it works in only one worksheet, ‘Directors’
Sub Populate_Combo() With ActiveSheet.MyCombo .ListFillRange = Worksheets("ComboFill") _ .Range("A2:A23").Address(external:=True) End With End Sub
If I now activate the hidden combo in say my worksheet called ‘Sales’ it shows but (a) stays visible and (b) does not populate the cell with the combo selection.
Stepping through the code in the ‘Sales’ worksheet it halts as shown below
Private Sub Worksheet_BeforeDoubleClick _ (ByVal Target As Range, Cancel As Boolean) If Not Intersect(Range("D6:AI147"), Target) Is Nothing Then End If Cancel = True [color color="#FFFF00"]ActiveSheet.MyCombo.Visible = True[/color]
End Sub
But ‘Sales’ is the active sheet?
Any ideas please