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.

Ayuda macro para abrir libros segun valor de celda

publicado

amigos tengo una macro que al parecer unicamente me esta abriendo un libro, veran intento abrir varios libros que estan almacenados en la columna "I", desde i2 hasta i26.. pero no funciona, me pueden ayudar.

Gracias.

Anexo codigo:

Sub ejemplo()
For i = 2 To 24
Workbooks.Open "C:\Users\Gerardo\Documents\EXCEL ARCHIVOS\" & Worksheets("hoja1").Range("L" & i)

Next i
end sub[/HTML]

Featured Replies

publicado

Hola Gerardo:

Según veo tu codigo la lista con el nombre de tu archivo esta en la columna "L" y no en "I".

De todos modos hago una adicion a tu codigo para que funcione como quieres

Sub ejemplo()
libroactual = ActiveWorkbook.Name
For i = 2 To 24
Workbooks.Open "C:\Users\Gerardo\Documents\EXCEL ARCHIVOS\" & Application.Workbooks(libroactual).Worksheets("hoja1").Range("L" & i)
Next i
end sub[/CODE]

Espero que te funcione saludos

publicado
  • Autor

Gracias elunico22 me ah servido mucho tu ayuda, gracias por tomarte el tiempo de responderme :D

TEMA FINALIZADO

publicado

Que bueno que te haya servido.

Saludos Gerardo

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.