Questiontoask
New Member
- Joined
- Aug 28, 2014
- Messages
- 2
I am trying to write a VBA script which ends once it has changed, saved and closed all ActiveDocument / open files. The script reads like
Sub Replace ()
Do
.....
ActiveDocument.Save
ActiveDocument.Close
Until [All ActiveDocument are closed]
End Sub
I am looking for the right code for the action described in the square brackets.
Thanks in advance
Sub Replace ()
Do
.....
ActiveDocument.Save
ActiveDocument.Close
Until [All ActiveDocument are closed]
End Sub
I am looking for the right code for the action described in the square brackets.
Thanks in advance