Pretty simple error message, it's expecting end sub but it's not where it's expecting it. That's all we can say because you haven't posted any of your code.
As Rabbit says, you need to post your code for us to help with your code. The error message explains the type of error that's occurring. It seems you need help to find where and why that is in your exact code. Without your code that would be very difficult.
Comment