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.

Ciclo repetitivo si hay información en la fila

publicado

Buenas amigos foristas

Tengo una macro la cual toma los datos de una hoja y con eso se llena una base de datos de una aplicacion que tenemos, en la actualidad coloco

For i = 4 To 8

session.findById("wnd[1]/usr/cmbRF02D-KTOKD").Key = objSheet.Cells(i, 35)

session.findById("wnd[1]/usr/ctxtRF02D-BUKRS").Text = objSheet.Cells(i, 36)

Next i

Lo que deseo es que en la macro si existe informacion en la fila siguiente ejecuta el proceso sino pare

Agrdezco su colaboracion

Fernando Trujillo

Featured Replies

publicado

Deberías subir un archivo ejemplo es mas fácil, pero bueno prueba así:

For i = 4 To 8

if activecell = "" then

exit for

else

session.findById("wnd[1]/usr/cmbRF02D-KTOKD").Key = objSheet.Cells(i, 35)

session.findById("wnd[1]/usr/ctxtRF02D-BUKRS").Text = objSheet.Cells(i, 36)

end if

Next i

publicado
  • Autor

Riddle lo que deseo es no colocar en el for To 8, sino cambiarlo por otro comando o arreglarlo para que el vaya hasta donde haya informacion en las celdas, lo que quiero es no darle hasta tal celda, que el lo haga automatico

Gracias

DPRE.xls

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.