Created
August 31, 2011 12:03
-
-
Save nanbu/1183384 to your computer and use it in GitHub Desktop.
VBAで文字列をHTMLエスケープ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function EscapeHTML(Text) As String | |
| Dim Result As String | |
| Result = Replace(Text, "&", "&") | |
| Result = Replace(Result, "<", "<") | |
| Result = Replace(Result, ">", ">") | |
| EscapeHTML = Result | |
| End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment