When using an IF in VBA
as an example if I have
IF StatusID = 3 then
StatusID = 1
end if
but I want to also change other numbers, not just 3
so 3 or 5 or 7 or 9 etc
yet I'm not sure
If StatusId = 3 or 5 or 7 then
StatusID = 1
end if
The reason I ask as I want to shorten the code and not use elseif
does any of this make sense?