K
Kizman
Guest
Salut,
Y a-t-il moyen de déclarer un vecteur en tant que variable publique?
Prenons l'exemple suivant:
----------------------------------------------------------------------------
Public a
Sub test1()
a = Array("Val1", "Val2", "Val3")
MsgBox (a(1))
End Sub
Sub test2()
MsgBox (a(2))
End Sub
----------------------------------------------------------------------------
test1 marche bien mais pas test2.
Merci pour votre aide...
Kizman
Y a-t-il moyen de déclarer un vecteur en tant que variable publique?
Prenons l'exemple suivant:
----------------------------------------------------------------------------
Public a
Sub test1()
a = Array("Val1", "Val2", "Val3")
MsgBox (a(1))
End Sub
Sub test2()
MsgBox (a(2))
End Sub
----------------------------------------------------------------------------
test1 marche bien mais pas test2.
Merci pour votre aide...
Kizman