Hello,
Can anyone tell me why this does not work?
Points is a function of months.
Thank you
Can anyone tell me why this does not work?
Points is a function of months.
Code:
Dim months As Integer
Dim points As Integer
points = Range("Z2").Value
months = Range("H2").Value
Do While points <> 8
If points < 8 Then months = months + 1
If points > 8 Then months = months - 1
points = Range("Z2").Value
months = Range("H2").Value
Loop