The GetMap method returns the map objects in a layer. This method fails if the map on the current layer is a base map.
Syntax
object.GetMap
Example
This example returns the thematic map on the current map layer.
Set ThematicMap = CurrentLayer.GetMap
Used by: Layer object