Private Sub Command1_Click()Dim i As Long, sum As LongFor i = 1 To 50 Step 2 sum = sum + i * (i + 1) * (i + 2)NextMsgBox "级数前50项奇数项和为:" & sumEnd Sub