I run Excel 2007 and write code that Excel 2003 users will run.
I want to be able copy all of the right characters of a text string up to the @ symbol and place them in a variable. The problem I am encountering is that the text strings are different sizes and sometimes there are anywhere between one and seven characters to the right of the of the @ symbol. Here is an example of one of the text strings:
CAM-20016W @AT_G04
In this case, I want to place AT_G04 (Total of six characters) in a variable and recall it later.
Another example is:
GNAM-GB010W @F_D04
F_D04 has a total of five characters.
I cannot find any reference material that would tell me how to code this.
Can anyone help me with this?
Thanks,
Charles
I want to be able copy all of the right characters of a text string up to the @ symbol and place them in a variable. The problem I am encountering is that the text strings are different sizes and sometimes there are anywhere between one and seven characters to the right of the of the @ symbol. Here is an example of one of the text strings:
CAM-20016W @AT_G04
In this case, I want to place AT_G04 (Total of six characters) in a variable and recall it later.
Another example is:
GNAM-GB010W @F_D04
F_D04 has a total of five characters.
I cannot find any reference material that would tell me how to code this.
Can anyone help me with this?
Thanks,
Charles