VBA 変数宣言の注意 #--EXCEL VBA 2025年04月29日 Dim i , j As Longだと、iは、varient型になる。iも、Long にしたい場合、Dim i As Long , j As Longと宣言する。 PR