2012-04-04 変数の型を知るにはTypeName() ExcelVBA Dim i As Integer MsgBox TypeName(i) ネタ元 http://www.moug.net/tech/exvba/0140004.html Excelマクロ& VBA基本技