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.

Crear indice de diferentes ubicaciones en una misma hoja

publicado

Buenos dias,

Estoy tratando de crear una macro que me produzca un indice que me linkee ubicaciones diferentes en una misma hoja.

No logro que funcione y en internet encuentro ejemplos pero solo linkeando una misma ubicacion en diferentes hojas.

En base a un ejemplo que crea un indice de diferentes hojas he estado tratando de realizar la macro pero no lo puedo lograr.

El codigo es el siguiente:

Sub Crear_Indice_Hojas()

Fila = 1

For Each Hoja In Worksheets

' Agregar vinculo a cada hoja del mes

If Hoja.Name <> "Indice" Then

With Worksheets("Indice")

.Hyperlinks.Add Anchor:=.Cells(Fila, 1), Address:="", _

SubAddress:=Hoja.Name & "!A1", TextToDisplay:=Hoja.Name

'Agregar vinculo de retorno a la hoja indice

End With

With Worksheets(Hoja.Name)

.Hyperlinks.Add Anchor:=.Cells(1, 2), Address:="", _

SubAddress:="Indice!A1", TextToDisplay:="Indice"

End With

End If

Fila = Fila + 1

Next

End Sub

Gracias por la ayuda.

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.