Isn't there a .Maximize method?
Code:
sub displayRTFDoc(rtfUrl)
Dim oWordApp
Set oWordApp = CreateObject("Word.Application")
oWordApp.Visible = True
oWordApp.Maximize
oWordApp.Documents.Open(rtfUrl)
oWordApp.Documents(1).Activate
Set oWordApp = Nothing
end sub
I'm not positive. It just seems to me that I remember that there is.
When I record a macro in Word, it creates
Code:
Application.WindowState = wdWindowStateMaximize
So maybe what you need to use is:
Code:
oWordApp.WindowState = wdWindowStateMaximize ' (The value of the const is 1...)