declare several variables on the same line, separating each variable name with a comma : Variable « Language Basics « VBA / Excel / Access / Word






declare several variables on the same line, separating each variable name with a comma

 

Sub declSeveral()
    Dim FullName As String, DateOfBirth As Date, age As Integer
End Sub

 








Related examples in the same category

1.Using Variables
2.Assigning Values to Variables