Country Property

Applies To

System object.

Description

Returns the country designation of the system. Read-only Long.

Can be one of the following WdCountry constants:

  • wdArgentina
  • wdBrazil
  • wdCanada
  • wdChile
  • wdChina
  • wdDenmark
  • wdFinland
  • wdFrance
  • wdGermany
  • wdIceland
  • wdItaly
  • wdJapan
  • wdKorea
  • wdLatinAmerica
  • wdMexico
  • wdNetherlands
  • wdNorway
  • wdPeru
  • wdSpain
  • wdSweden
  • wdTaiwan
  • wdUK
  • wdUS
  • wdVenezuela

See Also

LanguageDesignation property.

Example

If the Country property returns wdUS, this example converts the top margin value from points to inches.

If System.Country = wdUS Then 
    topMgn = ActiveDocument.PageSetup.TopMargin
    MsgBox "Top margin is " & PointsToInches(topMgn)
End If