Duda Worksheet change
tengo el siguiente código:
Private Sub Worksheet_Change(ByVal Target As Range)
num = f89
If num = ( Prekinder y Kinder (Reembolso 100%) ) Then
Range( H89 ).Select
ActiveSheet.Unprotect
Selection.Locked = False
Range( H89 ).Select
Selection.ClearContents
ElseIf num = ( Enseñanza Básica y Media (TOPE 1,5 UTA ) ) Then
Range( H89 ).Select
ActiveSheet.Unprotect
Selection.Locked = False
Range( H89 ).Select
Range( H89 ) = 1.5
Else: num = ( Enseñanza Universitaria y Técnico Superior (TOPE 5 UTA) )
Range( H89 ).Select
ActiveSheet.Unprotect
Selection.Locked = False
Range( H89 ).Select
Range( H89 ) = 5.5
End If
la he intentado repetir abajo con mas IF pero cuando intento usarla sigue tomando el rango anterior. Necesito usarla en la celda F90 y que me devuelva el resultado en la h90 como lo hace la función dependiendo del parámetro.
favor su ayuda
Gracias