vgersghost
Vgersghost
- Local time
- Today, 02:29
- Joined
- Apr 29, 2005
- Messages
- 106
Hello:
I have a number letter combination I trying to use the last 5 digits. Example
Right( "1234E5678",5) which returns E5678 just fine. The problem is I'm converting this to a barcode and only need numbers. I tried Val in front but it returns the same value when the numbers are close. Like E5678 or E5679 both return 69 How do I strip the E only convert it to a number add it back to the end 4 numbers. Mid does not work because part numbers vary in length.
Thank you.
I have a number letter combination I trying to use the last 5 digits. Example
Right( "1234E5678",5) which returns E5678 just fine. The problem is I'm converting this to a barcode and only need numbers. I tried Val in front but it returns the same value when the numbers are close. Like E5678 or E5679 both return 69 How do I strip the E only convert it to a number add it back to the end 4 numbers. Mid does not work because part numbers vary in length.
Thank you.