Right2() is a function and can be used on a worksheet, or called by a VBA Sub
If you're looking to do all the numbers at once, try something like the Sub Right2All
Since the Function only had one line, it was just as easy to include the code in the Sub directly
Option Explicit
Function Right2(I As Variant) As Variant
Right2 = CDbl(Right(I, 2))
End Function
Sub Right2All()
Dim c As Range
For Each c In Range(Range("A20"), Range("A20").End(xlDown)).Cells
c.Value = CDbl(Right(c.Value, 2))
Next
End Sub
Look at the 2 sheets in the attachment