Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i VBA] 2 odd issues: Userform_Initialize event being triggered / Class loop not completing

$
0
0
Hi Jon

Interesting to hear though I'm not sure I am suffering any glitches due to the fickle unstable nature of VBA. My own gut feeling is that everything is working fine and my guess at the root cause of the different issues are:
Problem 1: Comment out the optional listbox name, the userform_Initialize event isn't triggered. Might be VBA WAD because the form is named in the function parameters (and even though its already visible) and perhaps this causes the event to trigger again. I merely surmising but its the only thing I can think of.
Problem 2: Likely due to my loop logic causing a fail. I had a feeling that when the loop gets to the last column, using C+1 might cause an error because there is no further columns to check against in the Instr functions.

I will give your suggestion a try though just to be sure that its not a glitch causing the issues.

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>