Any Ideas why this only works for the first case and although it seems to work for the others on Step Through it does not change the values of PramA and PramB
Thanks you in advance
taltyr
Code:
If Loading = "F" Then
PramA = 1 And PramB = 0
ElseIf Loading = "B" Then
PramA = 0 And PramB = 100
Else
PramA = 1000 And PramB = 1
End If
MsgBox PramA & PramB
Thanks you in advance
taltyr