b'Dim n As Integer Dim GA As Single Dim S As Single Dim NAgnos As IntegerDo C = Val(InputBox("Capital." & vbNewLine & "(a lo ms 2 dec.)", "Dato: Capital ")) If Not (C 0) Then MsgBox "Dato mal ingresado", vbCritical, "Ventana de error" End If Loop Until (C 0) Range("B3") = CDo TEA = Val(InputBox("Ingrese TEA" & vbNewLine & "(como valor %)", "Dato: TEA")) If Not (TEA 0) Then MsgBox "Dato mal ingresado", vbCritical, "Ventana de error" End If Loop Until (TEA 0) Range("B4") = TEADo GA = Val(InputBox("Gasto Adm." & vbNewLine & "(2 dec), "Dato: Gasto Adm.")) If Not (GA = 20) Then MsgBox "Dato mal ingresado", vbCritical, "Ventana de error" End If Loop Until (GA = 20) Range("B5") = GADo n = Val(InputBox("Ingrese Aos" & vbNewLine & "(entero)", "Dato: Ao")) If Not (n 0) Then MsgBox "Dato mal ingresado", vbCritical, "Ventana de error" Autor: Jos M. Martn Senmache S.Pgina 462'