I need to extract the following portion CDA-CUP-PF from the following string of MECH~CDA-CUP-PF~1 - CUP0915.2XL - Copper Reducer (P) text
AddFormula TopLeft.Offset(1, 3).Resize(RowCount, 1), "=IFERROR(RIGHT(AA" & Row & ",FIND(""~"",AA" & Row & ")-1,FIND(""^"",AA" & Row & ")+1-FIND(""-"",AA" & Row & ")),"""")"
This is what I see right now: MECH^CHU I need to see this: CDA-CUP-PF I need to use something like the VBA code above.