Forum Discussion
tristaanogre
12 years agoEsteemed Contributor
I'm not near a workstation where I can reproduce this at the moment. However, if memory serves, the event handlers need to have all variables used within them called from within them. In other words, move your Dim statement to within your sub-routine. I'm not sure if the even handler recognizes the Dim outside of the handler code.