The following code will delete the active document from the folder in which
it is located. USE WITH CAUTION
Dim docname As String
docname = ActiveDocument.FullName
ActiveDocument.Close wdDoNotSaveChanges
Kill docname
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a consulting basis.
STANDARD DISCLAIMER applies ~
meaning no one IN PENNSYLVANIA
has seen the tooth or teeth in
question so take this advice in
proper context ~ its the internet!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.