ich habs eigentlich umgekehrt gemeint:

Code:
Dim X as word, Y as long

X=1000
Y=2000
X=X+Y
Da bekomme ich einen Fehler