I have Word Script that is trying to insert the contents of a document into a SQL/2000 database field. It keeps failing with an error code of "Multiple-step operation generated errors. Check each status value." Here is a piece of the code:
Set cn =...
Hi,
This code is in a macro contained in a word template. When a user uses this template the macro is run when the document is opened.
If I use Word.ActiveDocument.Close the macro does not finish executing. Is there another way to close the file instead of using the SaveAs command?
Thanks.
I am opening a HTML file in Word and using the SaveAS command to save it to a different name. Next I try to load the file to a ADODB.Stream and get an error stating that the file is locked. Here is part of the code:
Word.ActiveDocument.SaveAs wfileName
Set cn =...
I appreciate your reply.
I tried your code suggestion and I get the same results. Word starts up in the background and cannot be terminated via the task manager. I have to reboot the machine in order to remove Word from running in the background.
If I run the program in debug mode it works...
I cannot get Word to become visible when opening it from VB.
I am running on W2K and VB 6.0 sp4. I am also using OfficeXP. I can see Word starting in the task manager when I execute my program. However I cannot kill the task and must reboot to clear Word from the system. If I run my program in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.