Sub Button1_Click()
Dim sh As Worksheet, ws As Worksheet, LstRw As Long, x, s As String
Set ws = Sheets.Add
ws.Name = "Result"
s = "A"
For Each sh In Sheets
If sh.Name <> ws.Name Then
With sh
x = Application.WorksheetFunction.CountIf(.Range("A:A"), s)
With ws
LstRw = .Cells(.Rows.Count, "A").End(xlUp).Row + 1
.Cells(LstRw, 1) = x
.Cells(LstRw, 2) = sh.Name
End With
End With
End If
Next sh
End Sub
Sub OhYa()
Dim sh As Worksheet, ws As Worksheet, LstRw As Long, x, s As String
Set ws = Sheets.Add
ws.Name = "Result"
s = "A"
For Each sh In Sheets
If sh.Name <> ws.Name Then
With sh
x = Application.WorksheetFunction.CountA(.Range("A:A"))
With ws
LstRw = .Cells(.Rows.Count, "A").End(xlUp).Row + 1
.Cells(LstRw, 1) = sh.Name
.Cells(LstRw, 2) = x
End With
End With
End If
Next sh
End Sub