Private
Sub
UserForm_QueryClose(Cancel
As
Integer
, CloseMode
As
Integer
)
End
End
Sub
Private
Sub
Abbruch_Click()
End
End
Sub
Private
Sub
XS_Box_KeyPress(
ByVal
KeyAscii
As
MSForms.ReturnInteger)
Select
Case
KeyAscii
Case
48
To
57
Case
Else
: KeyAscii = 0
End
Select
End
Sub
Private
Sub
S_Box_KeyPress(
ByVal
KeyAscii
As
MSForms.ReturnInteger)
Select
Case
KeyAscii
Case
48
To
57
Case
Else
: KeyAscii = 0
End
Select
End
Sub
Private
Sub
M_Box_KeyPress(
ByVal
KeyAscii
As
MSForms.ReturnInteger)
Select
Case
KeyAscii
Case
48
To
57
Case
Else
: KeyAscii = 0
End
Select
End
Sub
Private
Sub
L_Box_KeyPress(
ByVal
KeyAscii
As
MSForms.ReturnInteger)
Select
Case
KeyAscii
Case
48
To
57
Case
Else
: KeyAscii = 0
End
Select
End
Sub
Private
Sub
OK_Click()
Me
.Hide
Dim
XS, S, M, L
As
Integer
XS = Wareneingang.XS_Box.Value
If
XS =
""
Then
XS = 0
S = Wareneingang.S_Box.Value
If
S =
""
Then
S = 0
M = Wareneingang.M_Box.Value
If
M =
""
Then
M = 0
L = Wareneingang.L_Box.Value
If
L =
""
Then
L = 0
Call
Eintragen(XS, S, M, L)
Unload Wareneingang
End
Sub