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.

Insertar filas en el mismo formato

publicado

Buenos dias

como se podría hacer una macro que me inserte filas en la misma estructura que están y estas estén encima de la fila pintada de amarillo para que el rango no se altere. y esto se haga en todos los cuadros.

insertar filas.zip

Featured Replies

publicado

Prueba esta rutina..inserta la fila inmediatamente superior a la posición del cursor..

Solo tienes que alterar el valor "7", en caso que quieras insertar antes de la fila "7"..

espero te sirva..puedes insertar una forma, y copias la macro..

Sub Insertar()

Dim fila As Integer

fila = ActiveCell.Row

If fila < 7 Then

MsgBox ("Ahi no se puede insertar")

Exit Sub

End If

Rows(fila).Insert shift:=xlDown

If fila = 7 Then Rows(fila + 1).Copy Else Rows(fila - 1).Copy

Rows(fila).PasteSpecial Paste:=xlPasteAll

End Sub

publicado
  • Autor

hola que tal si inserta bien la fila pero si te das cuenta x ejemplo en la 40 y 41 están unidas y la 39 esta reducida no se podría hacer la opción de copiar la fila 39,40 y 41 y dejarlas en la misma forma en la que están? cosa que copia todo y formulas que pudieran estar ahi... se podrá ?

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.