vba type variable
debug.print TypeName(my_var) ' String, Integer, Date...
debug.print VarType(my_var) ' vbLong, vbDate...
vba type variable
debug.print TypeName(my_var) ' String, Integer, Date...
debug.print VarType(my_var) ' vbLong, vbDate...
vba declare variable with value
Dim myString As String: myString = "aaa bbb"
Dim myStringCaps As String: myStringCaps = UCase("aaa bbb")
Dim myPart As Variant: myPart = Split(myString)
Dim ws As Worksheet: Set ws = ThisWorkbook.Worksheets(1)
Const MY_CONST As String = "Value"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us