Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

busqueda de un resultado en una tabla excel al pinchar un checkbox

publicado

hola, tengo un formulario que al introducir la fecha de nacimiento te da la edad en un textbox (ese codigo me lo facilitasteis y genial) ahora lo que quiero es que cuando se pinche un checkbox coja la edad del textbox y busque en la hoja excel la edad y asigne la tarifa que le corresponde. he puesto un codigo pero la variable "Fila" da error en "No coincide los datos"

necesito vuestra ayuda para que me digais que estoy haciendo mal. 

gracias. 

adjunto fichero. 

Calcular_Edad (1)_ayudaExcel.xlsm

Featured Replies

publicado

La edad ya determina el número de fila, sustituye tu procedimiento CheckBox1_Click() por este:

Private Sub CheckBox1_Click()
   TextBox3 = ""
   If CheckBox1.Value = True Then
      TextBox3.Value = Hoja1.Range("B" & Val(TextBox2) + 1)
   End If
End Sub

 

Editado el por Antoni

publicado
  • Autor

Muchas gracias Antoni por tu ayuda. 

he sustituido los procedimientos y me da la tarifa 

 

mil gracias y feliz dia! 

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.