dis1411
Oct 12th, 2004, 11:38 AM
attention everyone: you should never ever be using "" to mean an empty string. use the constant vbNullString.
"" makes the computer generate a null string
vbNullString simply is a null string
break the "" habit
but, before you change all your If statements, consider this:
If StrTemp = vbNullString Then
is slower than
If LenB(StrTemp) = 0 Then
so code accordingly
that is all
"" makes the computer generate a null string
vbNullString simply is a null string
break the "" habit
but, before you change all your If statements, consider this:
If StrTemp = vbNullString Then
is slower than
If LenB(StrTemp) = 0 Then
so code accordingly
that is all