How to make trim only when last character of string is comma remove it?
Use Code: if right(strText,1)="," Then strText=Left(strText,Len(strText)-1) Where strText is the name of your text string
if right(strText,1)="," Then strText=Left(strText,Len(strText)-1)
Colin Riddington, Access MVP, Website, email The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!
Forum Rules