Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA Runtime error 91 when I create a new document
I get a VBA Runtime error 91 when I create a new document from my template
without first opening word. I keep the template on the desktop since I use it so ofter. The document has several Fill-in fields which work fine after I hit cancel several times to get rid of the above error and the "dialog box is open error message". If I first open Word and then create a new document by clicking on my (desktop stored) template no problem, everything works fine. What going on? How can I fix. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA Runtime error 91 when I create a new document
Are there some macros in your template? Click on the Debug button in the
error message and see what line of code is highlighted. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "LeLe" wrote in message ... I get a VBA Runtime error 91 when I create a new document from my template without first opening word. I keep the template on the desktop since I use it so ofter. The document has several Fill-in fields which work fine after I hit cancel several times to get rid of the above error and the "dialog box is open error message". If I first open Word and then create a new document by clicking on my (desktop stored) template no problem, everything works fine. What going on? How can I fix. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA Runtime error 91 when I create a new document
Yes, the template runs an autoexec macro which moves you through the fillin
fields. However, does this explain why the template DOES work if you OPEN MS WORD first? I only get the error if I try to open the template and MS word simultaneously.(I didlook at the macro, and the first line was yellow, but I could not see anything wrong with it. Thanks for any suggestions. "Doug Robbins - Word MVP on news.microsof" wrote: Are there some macros in your template? Click on the Debug button in the error message and see what line of code is highlighted. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "LeLe" wrote in message ... I get a VBA Runtime error 91 when I create a new document from my template without first opening word. I keep the template on the desktop since I use it so ofter. The document has several Fill-in fields which work fine after I hit cancel several times to get rid of the above error and the "dialog box is open error message". If I first open Word and then create a new document by clicking on my (desktop stored) template no problem, everything works fine. What going on? How can I fix. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA Runtime error 91 when I create a new document
And what was the first line?
-- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "LeLe" wrote in message ... Yes, the template runs an autoexec macro which moves you through the fillin fields. However, does this explain why the template DOES work if you OPEN MS WORD first? I only get the error if I try to open the template and MS word simultaneously.(I didlook at the macro, and the first line was yellow, but I could not see anything wrong with it. Thanks for any suggestions. "Doug Robbins - Word MVP on news.microsof" wrote: Are there some macros in your template? Click on the Debug button in the error message and see what line of code is highlighted. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "LeLe" wrote in message ... I get a VBA Runtime error 91 when I create a new document from my template without first opening word. I keep the template on the desktop since I use it so ofter. The document has several Fill-in fields which work fine after I hit cancel several times to get rid of the above error and the "dialog box is open error message". If I first open Word and then create a new document by clicking on my (desktop stored) template no problem, everything works fine. What going on? How can I fix. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Visual basic runtime error 5216, there is a printer error | Microsoft Word Help | |||
Document.Unprotect give runtime error 5485 - The password is incorrect | Microsoft Word Help | |||
when I open Word 2003, get error: runtime error 429 | Microsoft Word Help | |||
Microsoft Visual C++ Runtime Library Runtime Error! | Microsoft Word Help | |||
Word 2003 - when closing receive 'Runtime Error 91' error messages | Microsoft Word Help |