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.

Llenar Rango de Números

publicado

Muy buen día, tarde, noche.

Vengo a molestarlos con una inquietud que tengo. 

Cómo puedo hacer para llenar un rango específico del 1 al 100 en una hoja de excel con macros, pero que no pase de la columna "H". Es decir, hasta la columna "H" caben 8 números, entonces en la siguiente fila, que comience con el 9, en la siguiente con el 17, y así sucesivamente hasta llegar al 100.

Me podrían orientar cómo se puede hacer

Gracias de antemano por su colaboración.

muestraAA.xlsx

Featured Replies

publicado

prueba esta macro

Sub llenar()
Set area = Range("a1").Resize(13, 8)

For i = 1 To 100
    area(i) = i
Next i

End Sub

publicado
  • Autor

Nítido, buenisima onda.. te lo agradezco @Dr Hyde

Tema resuelto

publicado

Otra forma:

Sub NumerarDel1Al100()
For n = 0 To 99
   Cells(Int(n / 8) + 1, (n Mod 8) + 1) = n + 1
Next
End Sub

 

  • Silvia bloqueó este tema

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.