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.

codigo en limite de filas de excel

publicado

expertos perdonen mi ignorancia pero tengo una inquietud y ojala puedan resolvérmela y es que he visto como existen macros que generan un numero consecutivo que va enumerando las filas de acuerdo al criterio que le pongan para iniciar, pero mi pregunta es que pasa con esos códigos que llegan al limite de filas en algunos casos 65536 y otros 1 048 576 ¿Cómo genero un código para que al llegar al tope se brinque a la siguiente columna a seguir con la numeración dado que el numero de filas ya se acabó?. Saludos

Private Sub UserForm_Initialize()
Worksheets("DB").Activate
Range("a2").Select If ActiveCell = Empty Then
id= 1
Else
Range("a1").End(xlDown).Select
id= ActiveCell.Value + 1
End If end sub Private Sub btn_insertr_Click()
Dim strfila$
Worksheets("DB").Activate

Dim fila As String
[B65536].End(xlUp).Offset(1, 0).Select Range("c" + strfila$) = textbox1Range("b10").End(xlDown).Select id= ActiveCell.Value + 1

[/PHP]

Featured Replies

No hay posts para mostrar

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.