PDA

View Full Version : Solved: resizing active document and positioning it on screen



nickirvine
06-12-2008, 03:16 AM
Hi Guys,

After your superb help here before I have one more question.

I have created a form..see post here:
http://www.vbaexpress.com/forum/showthread.php?p=147130#post147130

I have one little question. Is it possible to resize the window the active document is in (the letter behind the form) and position it on the far right of the screen? There is a similar code that seems to work with excel but I can't find one for Word.

Again, any help or guidance is greatly appreciated.

Thanks,

Nick

nickirvine
06-12-2008, 06:46 AM
ive sorted it..

Application.WindowState = wdWindowStateNormal
Application.Move Left:=568, Top:=0
Application.Resize Width:=197, Height:=542

fumei
06-12-2008, 10:56 AM
Thank you for posting your solution.