using a variable in a function
Hi
i have this
Public antal As Integer ' in decalration in the form
then i have this in a command button
antal = DateValue(sdage.Value) - DateValue(dage.Value)
antaldage.Value = antal
Its working
Now i want to use the value of antal in a function , i run in another comman
button
But here it is emty Why???
resgards
Alvin
|