copy delete

M

Mark A

Is is possible to delete an open document in word? I want to delete a file
that is currently open in word using vba.

All suggestions and advice is greatly appreciated,
Mark A.
 
J

Jay Freedman

Mark said:
Is is possible to delete an open document in word? I want to delete
a file that is currently open in word using vba.

All suggestions and advice is greatly appreciated,
Mark A.

No, it isn't possible, by VBA or any other means. Windows won't permit you
to delete a file that's held open by any application. You'll have to close
the document first.
 
Top