Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

System Object (Word)

Contains information about the computer system.

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.