The code I post will not work. But look at post #9. Look at the If ElseIf, it should work except the missing End If.
As there aren’t any error messages, I won’t conclude anything, as the ElseIf was incomplete in the beginning.
Usually, a beginner doesn’t understand what Compiling code means...