
that your code no longer appears to work. You can find a
comprehensive list of the changes by visiting Microsoft’s
Visual Basic web site: http://msdn2.microsoft.com/
en-us/vbasic/default.aspx.
Control Structures
All control structures, with the exception of the While state-
ment, have remained unchanged from VBA to Visual Basic.
A While statement in VBA ends with the WEnd keyword;
however, in Visual Basic, a While statement ends with an End
While statement. Another control structure difference to note
is that Visual Basic no longer supports the GoSub..Return and
On..GoSub statements. Traditionally, these statements were
almost always indicative of sloppy ...