Dim a As Integer = 123456789 Dim b As Integer = 987654321 Dim c As Long = a * b 'エラー! Dim d As Long = CLng(a) * CLng(b) 'これならOK!