danny2001k
New Member
- Joined
- May 13, 2011
- Messages
- 4
My problem is this:
I have a macro that gets the info from a access db.
I have to check some strings if they have the - sign in them.
My problem that office has some auto formating for the minus sign sometimes, it makes it longer and my code doesn't find that longer sign.
I tried copying the both minus signes in the vba code but the paste is the same minus: the little one.
I have a macro that gets the info from a access db.
I have to check some strings if they have the - sign in them.
Code:
If InStr(string, "-") > 0 Then
My problem that office has some auto formating for the minus sign sometimes, it makes it longer and my code doesn't find that longer sign.
I tried copying the both minus signes in the vba code but the paste is the same minus: the little one.