Hi people,
I'd like help writing a macro please...
So basically I need it to copy say "6141GMPV" from A1 to B1 - thats easy
The hard part is if the last 2 characters in the copied cell are any of these ("PV" "PR" "WV" "WR" "TV/CV" "AL" "Other" "TT") then I'd like them to be removed and paste "6141GM" into B2 and paste a corrisponing number into C1 for example their values would be ("PV"=1 "PR"=2 "WV"=3 "WR"=4 "TV/CV"=5 "AL"=6 "Other"=7 "TT"=8)
End result would look like this;
6141GMPV 6141GM 1
If I cant do it directly and need to layer the process I dont mind, for instance using a formula to split the last 2 characters then perhaps If'ing or ISERROR'ing them to get a number output etc. Obviously the more info the better but i'd be happy to just have someone to help me built the method at least?
Hope you guys get the picture? If not give me a shout
Bookmarks