Guardate bellino!!!
stampacodice:Sub Pippo() Dim X, Y X = 10 Y = "10" Debug.Print X = Y, X = 10, Y = 10, X = "10", Y = "10" Debug.Print TypeName(X) Debug.Print TypeName(Y) End Sub
Se invece faccioFalso Vero Vero Vero Vero
Integer
String
stampacodice:Sub Pippo() Dim X As Integer, Y As String X = 10 Y = "10" Debug.Print X = Y, X = 10, Y = 10, X = "10", Y = "10" Debug.Print TypeName(X) Debug.Print TypeName(Y) End Sub
Alla facciaccia di tutti quelli che (come Mario) non dichiarano mai il tipo di variabili!Vero Vero Vero Vero Vero
Integer
String

