B
Bill
I get a type mismatch when I encounter
this statement:
If Len(HOHA(1)) > 0 And HOHA(2) Then Me.tbLn7 = "Cell(1) " & HOHA(1)
The highlighted area in Debug is:
If Len(HOHA(1)) > 0 And HOHA(2) Then
HOHA is a string array and the current value
of HOHA(1) is a zero-length string, "". And,
HOHA(2) is a True/False value and is currently
false.
Len(HOHA(1)) > 0 is false, so I was expecting
an evaluation of two T/F expressions.
Apparently VBA is not treating the expressions as
I expect????
Bill
this statement:
If Len(HOHA(1)) > 0 And HOHA(2) Then Me.tbLn7 = "Cell(1) " & HOHA(1)
The highlighted area in Debug is:
If Len(HOHA(1)) > 0 And HOHA(2) Then
HOHA is a string array and the current value
of HOHA(1) is a zero-length string, "". And,
HOHA(2) is a True/False value and is currently
false.
Len(HOHA(1)) > 0 is false, so I was expecting
an evaluation of two T/F expressions.
Apparently VBA is not treating the expressions as
I expect????
Bill