Hi,
I think I am not using the correct formatting in my if then statement. I'd like to make an Or criteria followed by an And criteria. I am sure that I am doing something wrong.
Conditions:
FL02, FL04, or FL05 = True
dap, disposable, warehouse, and norepack = True
Where did I goof?
Thanks,
Mike
I think I am not using the correct formatting in my if then statement. I'd like to make an Or criteria followed by an And criteria. I am sure that I am doing something wrong.
Conditions:
FL02, FL04, or FL05 = True
dap, disposable, warehouse, and norepack = True
Code:
ElseIf FL02 = True Or FL04 = True Or FL05 = True And dap = True And disposable = True And warehouse = True And norepack = True Then
Slide271.forecast.Value = forecast
Slide271.min.Value = batchmin
Slide271.frozen_period.Value = frozen
Slide271.dev_freq.Value = dev_freq
'Slide271.hu.Value = hu
ActivePresentation.SlideShowWindow.View.GotoSlide (10)
Where did I goof?
Thanks,
Mike