Sub ModesVideo()
Dim i&, T(), strComputer As String
strComputer = "."
Set objWMIService = GetObject( _
"winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.Execquery( _
"Select * from CIM_VideoControllerResolution")
For Each objItem In colItems
ReDim Preserve T(i)
T(i) = objItem.Caption & vbCrLf: i = i + 1
Next
[A1].Resize(UBound(T)) = Application.Transpose(T)
Set objWMIService = Nothing
Set colItems = Nothing
End Sub