エクセル|文字列の計算

少しは役に立つかな

Sub Test()
Dim myA(0 To 4) As String
myA(0) = “1”
myA(1) = “+”
myA(2) = “5”
myA(3) = “-”
myA(4) = “2”
MsgBox Application.Evaluate(Join(myA))
End Sub