function HTMLConvert(fString)
if not isnull(fString) then
fString = replace(fString
fString = replace(fString
fString = Replace(fString
fString = replace(fString
fString = Replace(fString
Fstring = Replace(fString
HTMLConvert = fString
end if
end function
From:http://tw.wingwit.com/Article/program/net/201311/14077.html