Hi folks, good wednesday
hopefully a quick one i am trying to auto close a word document after 20 seconds.
that I can do. However i have 2 word documents and its called a instance i belive ,
so when i close the document it leaves behind the grey blank screen.
For the life of me i cant work out what it wants. what will get it to close the ugly grey screen it leaves behind.
While leaving my other word document as is I tried
Sub CloseDoc()
'ActiveDocument.Close
'ThisDocument.ActiveWindow.Close
With Application
ThisDocument.ActiveWindow.Application.ActiveWindow.Close
'.ScreenUpdating = False
'Quit Word no save
'.Quit SaveChanges:=wdDoNotSaveChanges
End With End Sub
thanks for any advice