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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top