Testa assim:
Sub GetSheets() 'Nome das Sheets
Dim j As Integer
Dim NumSheets As Integer
Dim shp As Shape
NumSheets = Sheets.Count
Range("A2:A" & Rows.Count).ClearContents
For j = 1 To NumSheets
Sheets(j).Activate
For Each shp In Sheets(j).Shapes
If shp.Visible Then
shp.Select
On Error Resume Next
If Selection.Characters.Text = "EXECUTAR" Then
If Err.Number = 0 Then
Sheets("INDICE").Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Value = Sheets(j).Name
Range("A1").Activate
End If
Err.Number = 0
End If
End If
Next shp
Next j
Sheets("INDICE").Activate
Range("A1").Activate
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 11/11/2016 7:17 am