I have a macro for listing all name ranges in active workbook when a certain worksheet is activated. the code is
but it list 4 that I don't want
_xlfn.AGGREGATE
_xlfn.COUNTIFS
_xlfn.IFERROR
_xlfn.SUMIFS
what can I do to stop listing them?
Code:
Sub Rprt()
Dim nm As Name, n As Long, y As RANGE, z As Worksheet
Application.ScreenUpdating = False
Set z = ActiveSheet
n = 8
With z
.[a5:O155].ClearContents
.[a7] = [{"Name"}]
For Each nm In ActiveWorkbook.Names
.Cells(n, 2) = nm.Name
n = n + 1
Next nm
End With
End Sub
_xlfn.AGGREGATE
_xlfn.COUNTIFS
_xlfn.IFERROR
_xlfn.SUMIFS
what can I do to stop listing them?