Close word window usering VBA
- From: Kezza <Kezza@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 2 Apr 2008 18:56:00 -0700
Hi There
I am trying to work out how to close a single word window without closing
any other word windows that might be open.
The issue is that if this is the only document left open.. it closes the
document but still leaves the word window open.
I have tried the following
Me.Application.ActiveWindow.Close
Windows("conquest report.doc").Parent.Close
SaveChanges:=wdDoNotSaveChanges
ActiveDocument.Close wdDoNotSaveChanges
Windows("A.doc").Application.Quit
Non of this code gives me the solution I am looking for.
I would really appreciate some assistance.
Thanks
.
- Follow-Ups:
- Re: Close word window usering VBA
- From: KeithM
- Re: Close word window usering VBA
- From: Valmont
- Re: Close word window usering VBA
- Next by Date: Ms Office Task Pane
- Next by thread: Re: Close word window usering VBA
- Index(es):
Relevant Pages
|
Loading