HOW TO
By default, ArcMap uses the Degrees Minutes Seconds format when setting the Map display units to esriDecimalDegrees. How can the display units setting be changed to decimal degrees?
Note:
At ArcGIS Version 10, VBA was deprecated and a separate license is required. To use this code, please contact your Esri account representative for a VBA license for 10.
Code:
Sub SetDisplayUnitsDD()
Dim pMxDoc As IMxDocument
Set pMxDoc = ThisDocument
Dim pMap As IMap
Set pMap = pMxDoc.FocusMap
Dim pReportUnitFormat As IReportUnitFormat
Set pReportUnitFormat = pMxDoc
Set pReportUnitFormat.LatLonFormat = Nothing
pMap.DistanceUnits = esriDecimalDegrees
End Sub
Get help from ArcGIS experts
Download the Esri Support App