Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 940 Bytes

Word.System.md

File metadata and controls

47 lines (29 loc) · 940 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
System object (Word)
vbawd10.chm2357
vbawd10.chm2357
Word.System
db15d780-3bbc-9515-a988-ea798777496f
06/08/2017
medium

System object (Word)

Contains information about the computer system.

Remarks

Use the System property to return the System object. If the operating system is Windows, the following example makes a network connection to \Project\Info.

If System.OperatingSystem = "Windows" Then 
 System.Connect Path:="\\Project\Info" 
End If

The following example displays the current screen resolution (for example, "1024 x 768").

horz = System.HorizontalResolution 
vert = System.VerticalResolution 
MsgBox "Resolution = " & horz & " x " & vert

See also

Word Object Model Reference

[!includeSupport and feedback]