You've marked the thread as solved, so I don't know if your most recent post is unresolved. Short answer, I count 3 End If statements and only 2 If statements, so you have some kind of mismatch between these. I suspect that one of the middle End If statements is not supposed to be there, but you would need to look at what you intended for this block if and decide where the End If statements are supposed to be.
Bookmarks