Macro

L

Les

I have written a macro which clear the contents of a document, then does a paste special. This all works this. Then, the last 2 lines are ActiveDocument.Save and ActiveDocument.Close - which should save the file, and then close it. However, this only works about 50% of the time. How can I remedy this so that it works every time the macro is run?
 

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