murray83
Games Collector
- Local time
- Today, 14:26
- Joined
- Mar 31, 2017
- Messages
- 824
this is what i have found by searching the great wide web
If [SerialNumber] is “CD234”, the result is “234”.
ok that is fine but i dont/cant put that in the control source and would like a VBA way of doing it on update or click of command button
this is my data
062963340006 003 B003SEP2191558BA0423 2 (300)
and the bit i need to trim is the "2 (300)"
all i need to keep is the data with in the brackets
help appreciated
Code:
Right([SerialNumber],3)
If [SerialNumber] is “CD234”, the result is “234”.
ok that is fine but i dont/cant put that in the control source and would like a VBA way of doing it on update or click of command button
this is my data
062963340006 003 B003SEP2191558BA0423 2 (300)
and the bit i need to trim is the "2 (300)"
all i need to keep is the data with in the brackets
help appreciated
