Hey Guys,
I've been trying to make a macro that sota summarizes the counts of certain Columns that have certain names.
NO no based on position on the cells but Column Header Name.
![]()
Sub Summarize() Dim a As Long a = Application.WorksheetFunction.CountA(Cells(2, 1).Resize(9, 1)) MsgBox Cells(1, 1) & Chr(10) & a End Sub
This code works on the first column but I want it to be Column Header Specific..
likeso: counta for column where column_name="SKUs"
Thanks
Alfred
Bookmarks