I have a combobox (from Control Toolbox) with the following code attached. For some reason the sub is being triggered on every Worksheet_Change event rather than just on the cbo change.
Then when I do make a change to the cbo it cycles thru once correctly, followed by a 2nd cycle that hangs on line4.
Where is the error?
Note: the cbo LinkedCell is [NewAlert]
Private Sub cboAddToAlertList_Change()
Dim NextResID As Range
Application.EnableEvents = False
‘Determine where to insert new data
Set NextResID = Range(“b65000”).End(xlUp).Offset(1, 0)
Line4:
[NewAlert].Copy NextResID
NextResID.Offset(0, 1) = Application.Index([ResID], [NewAlert]).Offset(0, 1)
Set NextResID = Nothing
Application.EnableEvents = True
End Sub