Il problema è che !=non funziona come una funzione in excel vba.
Voglio essere in grado di usare
If strTest != "" Then invece di If strTest = "" Then
C'è un altro approccio per farlo oltre !=?
La mia funzione di imitare !=è
Sub test()
Dim intTest As Integer
Dim strTest As String
intTest = 5
strTest = CStr(intTest) ' convert
Range("A" + strTest) = "5"
For i = 1 To 10
Cells(i, 1) = i
If strTest = "" Then
Cells(i, 1) = i
End If
Next i
End Sub
!=non funziona in vba o qual è l'operatore di disuguaglianza in vba?
!=e no<>?