Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initialization is not allowed when multiple variables are declared on the same line.
Error ID: BC30671
To correct this error
Declare and initialize each item separately.
Declare multiple items together and then initialize each item; for example:
Dim x, b, i As Integer x = 9 : b = 9 : i = 9 ' ":" is the same as a new line.
See Also
Concepts
Variable Declaration in Visual Basic