Deleting a word document after saving under a new name.

S

Suzette

I've been trying to do this using the Kill statement. The problem is that
if the document is still open, I can't delete the old one. If I try closing
the document then reopening it, my macro stops.

Any ideas?


Thank you
Suzette
 
S

Suzette

Never mind. I found a way to do it. I added a blank document, closed the
document, killed the old name, reopened the document, then closed the blank
document.
 

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