Msword method to set document size

P

priya

I want to know which word method(api) or properties have to be used to set
window size while displaying a document in the msword
 
R

Ravi \(Newgen\)

Hi Priya,

Try this code,

''''''''''''''''''''
With Application
.WindowState = wdWindowStateNormal
.Resize Width:=InchesToPoints(7),
Height:=InchesToPoints(6)
End With
'''''''''''''''''''''''''

-Ravi
 
Top