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 completar columna hasta el final de registros

publicado

Buenos dias expertos, requiero una ayuda, lo que pasa es que tengo una hoja que importa datos de diferentes libros externos y funciona perfecto, pero lo que pasa es que en la columna B aveces faltan datos ya que debe ser la misma palabra "DIGITAL", lo que requiero es una macro que me copie o me rellene la palabra antes mencionado hasta la altura de los registros importados. Por favor me pueden apoyar con dicha macro estare agradecido de todo ustedes se que en esta comunidad hay muchos expertos.

Adjunto el archivo.

Consolidado.xlsm

Featured Replies

publicado
Range("B2:B" & ActiveSheet.UsedRange.Rows.Count) = "DIGITAL"

 

publicado
  • Autor

Antoni muchas gracias, eso lo que esperaba.

Consegui también estas lineas codigo.

Sub Rellenar()
Dim uf, fila As Integer
uf = Sheets("Consolidar").Range("A" & Rows.Count).End(xlUp).Row
fila = 2
While fila <= uf
If Sheets("Consolidar").Cells(fila, 2) = Empty Then
   Sheets("Consolidar").Cells(fila, 2) = "DIGITAL"
End If
fila = fila + 1
Wend

End Sub

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.