Uploaded by Diego Berbel

Cómo listar cuadros

advertisement
Este es el esquema para listar cuadros
Sub listar_cuadros()
Dim hoja As String
Dim f, n_hojas As Integer
n_hojas = Sheets.Count
f=1
Cells(1, 1) = "Index"
Do While f <= n_hojas
hoja = Sheets(f).Name
Cells(f + 1, 1) = hoja
Cells(f + 1, 1).Select
f=f+1
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:="'" & hoja & "'!A17",
TextToDisplay:=hoja
Loop
End Sub
El resultado será en breves.
Download