[table="width: 500"]
[tr]
[td]Function Romanize(S As String) As String
Dim X As Long, Num As String
Romanize = "X" & S
For X = Len(Romanize) To 2 Step -1
If Mid(Romanize, X - 1, 2) Like "[!0-9]#" Then
Num = Val(Mid(Romanize, X))
Romanize = Application.Replace(Romanize, X, Len(Num), Application.Roman(Num))
End If
Next
Romanize = Mid(Romanize, 2)
End Function[/td]
[/tr]
[/table]