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.

Macro para llamar el saldo de un estado de cuenta

publicado

Buenos Dias

Requiero de una macro que me traiga el ultimo saldo de un estado de cuenta, borrando todos los demas movimientos, anexo el archivo en donde explico lo que necesito.

Muchas gracias

Proyecto macro.xls

Featured Replies

publicado

Hola:

Prueba con esta macro.


[COLOR=#008000]Sub Saldo[/COLOR]()

If Range("A" & Rows.Count).End(xlUp).Row > 2 Then
Range("A2:A" & Range("A" & Rows.Count).End(xlUp).Row - 1).EntireRow.Delete
End If

Range("D2") = "SALDO FINAL"
Range("C2,E2,F2,I2").ClearContents


[COLOR=#008000]End Sub[/COLOR]
[/CODE]

Saludos

publicado

Hola! cora (y Gengis)

¿Qué tal "algo" como en el archivo adjunto?...

Saludos, Cacho R.

Libro2.xls

publicado
  • Autor

Muchas gracias a ambos, es precisamente lo que buscaba, ahora lo que no encuentro es como llevar esta macro a todas las hojas que tienen mis estados de cuenta en mi libro.

Gracias

publicado

Tan solo seleccionas la hoja en cuestión y ejecutas la macro...

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.