Moin!
Entweder lässt Du die Klammer weg:
ReplaceWords objMail, "@hotmail.com", "[Wichtig]"
ReplaceWords objMail,
"@hotmail.com"
,
"[Wichtig]"
oder Du rufst mittels Call auf:
Call ReplaceWords(objMail, "@hotmail.com", "[Wichtig]")
Call ReplaceWords(objMail,
)
Ist allerdings ungetestet!
Gruß Ralf