WINWORD.exe has generated errors (when working with macro's)

  • Thread starter piet fluwijn via OfficeKB.com
  • Start date
P

piet fluwijn via OfficeKB.com

(sorry, I don't speak very well the English language)
I'm working with Windows 2000 Prof 5.0 (Build 2195: Service Pack 3) and WORD 2000 (9.0.2720).
I'm creating new documents with a macro that is
a) copying and changing some parts of document1,
b) creating a new document based on a specific model.dot
c) copying a text that will be used as filename and changing the folder to prepare the saving in the right folder,
d) opening the window "save as", so that I can manually paste the filename, if necessary changing it,
e) manually saving it

The macro is doing his work, but after saving I always get the message
"WINWORD.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created."
If I open Visual Basic and use the macro step by step I don't have the problem.
Can anyone help me ? Thanks a lot !!

*****************************************
* This message was posted via http://www.officekb.com
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=28d2a90629f446aeb0c633e9ec5e9758
*****************************************
 

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