![]() |
|
#1
|
||||
|
||||
![]()
As you will see from the code I posted, there can be multiple 'Call OpenDoc' entries - each of subs except the last has one. That is not the problem. However, a code module can only have one sub named Sub OpenDoc. What concerns me about the code snippet you posted, though, is that the first code block doesn't have a sub name; it should have a first line like Sub MMM(). If that is lacking, you can run that sub and it may cause the errors you're experiencing.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Errors in Outlook.pst | Rik_StHelens | Outlook | 0 | 12-20-2010 09:40 AM |
Strange errors | omirza | Excel | 0 | 02-05-2010 01:30 PM |
![]() |
Word Doc | Word | 1 | 10-08-2009 12:57 AM |
COM Automation Errors | ivanm | Word | 0 | 03-23-2009 07:02 PM |
How do you fix ost in use errors? | enviroko | Outlook | 0 | 10-23-2008 09:49 AM |