Created
October 12, 2015 17:35
-
-
Save 7shi/0e7659d58ca2686af85d to your computer and use it in GitHub Desktop.
[VBA]マクロン変換(Excel)
This file contains 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
Sub マクロン変換() | |
Dim R As Range | |
For Each R In Selection | |
R = Replace(Replace(Replace(Replace(Replace(R, _ | |
"a-", ChrW(&H101)), _ | |
"e-", ChrW(&H113)), _ | |
"i-", ChrW(&H12B)), _ | |
"o-", ChrW(&H14D)), _ | |
"u-", ChrW(&H16B)) | |
Next R | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment