You define labels in code with a ':' after the label text.Originally Posted by GremlinSA
Starting with a ':' makes VB believe it's a blank statement.Code:'... Exit Sub ErrorOccured: MsgBox Err.Description '...
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |