I have a program in which a label is scanned and that value goes into a cell, but for security reasons, it's necessary to check that the length of this is always the same (for example: 8, label=12345-78) the string has a "-" in it. What I want the program to do is that, when the scanned label has a number different than this one, display a messagebox that indicates that the number is invalid and then erase the cell's content. I would really appreciate some help with this.