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.

fecha pago 30 dias recepcion factura

publicado

Hola estimados, aqui nuevamente solicitando ayuda de esas magicas..que uds. tienen

les comento tengo textbox1(donde ingreso fecha de recepcion factura ); 1 combobox ( que es para seleccionar dias) y y textbox2 ( que es donde automaticamente debe cargar la fecha de pago, segun la cantidad de dias seleccionado )

por favor, no es flojera sino el no saber..uds. podrian a yudarme con la sintaxis 

atte.

Milton 

fecha de pago.xlsm

Featured Replies

publicado

@meduvilla

¿te sirve si te digo que mires ayuda sobre la funcion DateAdd ?;)

Si no vuelve a preguntar

publicado
  • Autor

Buenos días a todos...

Busque...pero no precisamente lo que necesito... Estimado

publicado

Añade esto a tu código:

Private Sub ComboBox1_Change(): CalcularVencimiento: End Sub
Private Sub TextBox1_Change():  CalcularVencimiento: End Sub
'--
Private Sub CalcularVencimiento()
If IsDate(TextBox1) And Not ComboBox1.ListIndex = -1 Then
   TextBox2 = CDate(TextBox1) + Val(LTrim(ComboBox1))
End If
End Sub

 

Editado el por Antoni

publicado
En 22/2/2019 at 17:15 , Antoni dijo:

Añade esto a tu código:


Private Sub ComboBox1_Change(): CalcularVencimiento: End Sub
Private Sub TextBox1_Change():  CalcularVencimiento: End Sub
'--
Private Sub CalcularVencimiento()
If IsDate(TextBox1) And Not ComboBox1.ListIndex = -1 Then
   TextBox2 = CDate(TextBox1) + Val(LTrim(ComboBox1))
End If
End Sub

 

¿Lo has probado al menos?

publicado
  • Autor

muchas gracias Estimado Antonio .. ya estamos listos con esta ayudita 

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.