b'Do A = Val(InputBox("Ingrese valor incial", "LECTURA DE DATOS")) If Not (A 0) And (A = Int(A)) Then MsgBox "Dato mal ingresado", vbCritical, "VENTANA DE ERROR" End If Loop Until (A 0) And (A = Int(A)) Range("B3") = ADo B = Val(InputBox("Ingrese valor final", "LECTURA DE DATOS")) If Not (B A) And (B = Int(B)) Then MsgBox "Dato mal ingresado", vbCritical, "VENTANA DE ERROR" End If Loop Until (B A) And (B = Int(B)) Range("B4") = Bsuma = 0 suma2 = 0 suma3 = 0 For i = A To B suma = suma + i suma2 = suma2 + i * i suma3 = suma3 + i * i * i Next i Range("B6") = suma Range("B7") = suma2 Range("B8") = suma3End SubPrivate Sub cbLimpiar_Click() Range("B3:B8") = "" End Sub Autor: Jos M. Martn Senmache S.Pgina 485'