word

  • Thread starter Thread starter Jon Currier
  • Start date Start date
Hi Jon,

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.

Hope this helps
Doug Robbins - Word MVP
 
Can't you go to WinExploder and highlight it and then just hit
"X?"

how do i delete a whole word document? I have a header on
it.

--
Joel M. Eichen, D.D.S.
Philadelphia PA

www.phillyducks.com
We’re Just A Duck Call Away!


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!

We is guessin'!
 
Back
Top