Alright so with these hypothetical values:
ActiveCell.Value = 0.2
LowerPt = -.1
UpperPt = .1
OldLow1 = -.005
OldHigh1 = .011
What should happen when I run the code pasted below is that the program should print
"Scrap" in the specified cell, and then ignore the other If statements because the values don't satisfy it.
But what really happens when I run it is that It prints scrap, then skips the second if statement, then runs through the third one, which makes no sense whatsoever.
I've looked for explanations on the forum but couldn't find anything similar, so I'm here again asking for a little guidance, (I know active doesn't need to be declared, but I was trying everything to get this little piece of the code to work). Anyone have any ideas?
Thanks!
Bookmarks