This sample consists of a VBA macro that creates a new graduated color type classification,
sets the class breaks (thus a manual classification), and assigns it to a feature
layer. The sample also demonstrates how to build and use a color ramp, including loading/saving
from a style. The macro also shows how to set the properties of the user interface to allow editing
of layer symbology after rendering.
How to use:
Open ArcMap and create a new map document.
Use the 'Add Data' button to add ..\arcgis\arcexe83\ArcObjects Developer Kit\Samples\Data\Usa\states.shp to your map.
Create a new macro (Tools--> Macros--> Create). Copy the code provided
in ClassifyManual.bas and paste into the Visual Basic Editor of your map document.
Run the macro
An ArcMap session with states.shp loaded.