2018-10-08から1日間の記事一覧
こんにちは 今日は文字の置き換えです。 文字の置き換えにはReplace関数を使用します。 Replace(対象の文字列,検索する文字,置き換える文字) のように書いていきます。 サンプルプログラム Sub test() Dim 文字列 As String 文字列 = "abc" MsgBox Replace…
こんにちは 今日は文字の置き換えです。 文字の置き換えにはReplace関数を使用します。 Replace(対象の文字列,検索する文字,置き換える文字) のように書いていきます。 サンプルプログラム Sub test() Dim 文字列 As String 文字列 = "abc" MsgBox Replace…