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.

Pasar el foco entre dos formularios vba excel

publicado

Buenos dias, amigos espero me puedan ayudar con este problema que encontre. Tengo abierto un formulario1 donde hay un listview, llamo al formulario2 donde ingreso los datos para el listview del formulario1, el problema es que al cerrar el formulario2, quisiera que el foco pase al listview, pero no lo consigo:

Private Sub btnAceptar_Click()

Call Agregar_Asientos_Voucher
Unload Me
UFVouchers.ListView1.SetFocus ''AQUI Mando el foco pero no lo reconoce
End Sub

Sub Agregar_Asientos_Voucher()
Dim i As Integer
With UFVouchers.ListView1
     i = .ListItems.Count + 1
     Rem MsgBox .ListItems.Count
     .ListItems.Add(i).Text = UFSubVouchers.txtCtaCble
     .ListItems.Item(i).ListSubItems.Add.Text = UFSubVouchers.txtDenominacion
     
     If UFSubVouchers.txtDebe <> "" Then
        .ListItems.Item(i).ListSubItems.Add.Text = UFSubVouchers.txtDebe
     Else
        .ListItems.Item(i).ListSubItems.Add.Text = " "
     End If
     
     If UFSubVouchers.txtHaber <> "" Then
        .ListItems.Item(i).ListSubItems.Add.Text = UFSubVouchers.txtHaber
     Else
        .ListItems.Item(i).ListSubItems.Add.Text = " "
     End If
End With
End Sub
 

Featured Replies

publicado

@mangelperu , siempre es mejor (por no decir necesario...) subir tu archivo de ejemplo para poder trabajar sobre él

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.