'Code module
'Subs in this code module will be accessible from all modules.
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub format(Amount As String) As String
Dim Amount As String = NumberFormat2(Amount, 1, 2, 2, True)
Dim Value As String
Amount = Amount.Replace(".", " ") ' removes the '.'
Amount = Amount.Replace(",", ".") ' replaces ',' by '.'
Amount = Amount.Replace(" ", ",")
Value = Amount
Return "€" & " " & Value
End Sub