word

D

Doug Robbins - Word MVP

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
 
J

Joel M. Eichen D.D.S.

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'!
 

Ask a Question

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.

Ask a Question

Top