I get an error message using "Exit Select", but I see this statement in code examples including "Learning Micrstation VBA" by Jerry Winters. Is "Exit Select" still part of Microstation VBA?
Unknown said:Is "Exit Select" still part of Microstation VBA?
Please post questions about MicroStation VBA to the Programming Forum.
You can get help on Microsoft VBA keywords by placing your cursor in the keyword and pressing F1. You pop the help page relevant to that keyword.
In this question, I think you may be referring to the VBA Select statement. If not, you need to provide some context.
Select Case expressionCase condition1Case condition2...End Select ' Not Exit Select
Regards, Jon Summers LA Solutions
It looks like you can only use "Exit Select" meaning exit from a select statement within a case block in Vistual Basic, not Microstation VBA. Sorry, I was mistaken.
Microsoft VBA is based on Visual Basic 5½, technology which is two decades old. The Exit Select statement is provided by VB.NET, a much younger technology. Functionality provided by a newer programming language does not seep back to earlier technology, even when the languages have similar names.
Exit Select never was a part of VBA. If you found it in the book Learning MicroStation VBA I would be astonished, because Jerry Winters would have been writing about capability that doesn't exist in VBA.
I think it can be found in the book because chapter 38 is dealing with VB6 and chapter 39 with VB.NET.