﻿Dim str As String, strLength As Long
str = "ExcelVBA"
strLength = Len(str)
MsgBox str & "の文字数は、" & strLength