AnsweredAssumed Answered

Displaying attribute count in ArcMap

Question asked by geonetadmin on Nov 9, 2011
Latest reply on Nov 11, 2011 by geonetadmin
Original User: exoscoriae

There is an old archived topic with this title in which the author is looking to show the number of unique occurrences in the legend for a given attribute. 

ie:
wells - 92
people - 32
cows - 2

A commonly used macro was given as the response located here:
http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Cartography/Renderers/aa141da8-c893-4ce4-8dd2-54be4a8e4255.htm

The macro had issues in that it had to be re-run each time, and then the legend had to be cut & pasted to force a refresh.

Now the macro seems to have a bigger issue in that Visual basic is no longer supported (as I understand it).

I am on 10sp2 looking for a way to address this same issue.  Any suggestions in light of the demise of VB would be very appreciated.  With the amount of VB resources that had been developed previously, it makes it very difficult to find non-VB solutions to these simple problems.

thanks,

Attachments

Outcomes