tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
If I step into this code, it seems to be stuck in an infinite loop, yet if I run it, it's fine:
so is it in an infinite loop and if so, how can I amend it?
Putting Application.EnableEvents = False doesn't help.
Thanks
Code:
Option Explicit
Private Sub cmbGraph_Change()
Me.cmbGraph.Clear
Me.cmbGraph.List = Array("a", "b", "c")
Application.EnableEvents = False
Me.cmbGraph.ListIndex = 0
End Sub
so is it in an infinite loop and if so, how can I amend it?
Putting Application.EnableEvents = False doesn't help.
Thanks