Aug 22, 2024
Dim a As Integer
a = 10
a
to a string type causes type mismatch when adding an integer.Dim a As String
Dim c As Date
Dim d As Boolean
d = True
(must capitalize T)Not
, And
, and Or
functions.Not
function.Dim f As Currency
@
symbol for currency assignments.Dim j As Object
Set j = New Excel.Application
j.Visible = True