VBA- Arcobjects: how to write a code to intersect two layers and to make summery?

Discussion created by Jamal432@gmail.com on Dec 9, 2010
Latest reply on Dec 10, 2010 by Jamal432@gmail.com

I need to write a code (in VBA- Arcobjects) to intersect two layers (both are polygons) and then to make summery

Please, see the attached image that shows my question

??? The first layer represents the boundaries of the district
??? The second layer represents the hospital
??? First i need to intersect the two layers
??? Then, I need to count the number of hospitals in (inside) each governorate

Thank you