Re: Code Execution



Your right about it running successfully - it's successful thousands of
times.

The code to execute the document is in a .BAT file that does a WINWORD.EXE
docname.

Thanks for yor help. Probably just chalk this up to idk.

Frank

"Jean-Guy Marcil" <NoSpam@LeaveMeAlone> wrote in message
news:u6YfFb0pGHA.3584@xxxxxxxxxxxxxxxxxxxxxxx
Frank Tolstyka was telling us:
Frank Tolstyka nous racontait que :

Maybe once per 1/2 year. The code is not throwing an error, it
produces the correct results. The code does not execute at all.
Placing a stop in the code is not an option unfortunately since this
document is to run 'automatically' via rexec from another system.


Twice a year?
This is going to be hard to find a pattern!

Sorry, but without more to go on, it is difficult to help, especially if
the
code runs fine the rest of the time (How often would that be? I mean,
about
twice a year it does not execute, but how often is it used in a year where
it runs successfully?)

Since the code is in a Document_Open sub, and that you say the whole thing
is automatic, maybe the problem is not in the code you posted, but in the
code that calls this document?

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@xxxxxxxxxxxxxxxxxxxxxxx
Word MVP site: http://www.word.mvps.org




.



Relevant Pages

  • Re: Adding/removing software
    ... Enquire, plan and execute. ... Please tell the newsgroup how any ... removal was successful. ...
    (microsoft.public.windowsxp.general)
  • Re: Why wont this work ?
    ... whether the unregistration was successful. ... function was able to execute the program at all. ... The trick is to use LoadLibrary, GetProcAddress and then call the AX ...
    (alt.comp.lang.borland-delphi)
  • Return Code from Execute Process Task
    ... I have created a DTS package. ... value if it was successful or not. ... In execute process task a can set a return code for success. ... want to return a failure code an continue the dts package? ...
    (microsoft.public.sqlserver.dts)
  • Re: what does $dbh->execute return for a select?
    ... On 19-May-2006 Tim Bunce wrote: ... I thought for a successful select, ... I've made that change but I still don't think execute is returning what the ... Martin J. Evans ...
    (perl.dbi.users)
  • Re: Merged fields do not print.
    ... Doug Robbins - Word MVP ... there aren't really 176 "pages" so, I tried and was successful when I ... The "text box" type outline is actually a Frame and it is part of the ... select edit and edit and see all my addresses - I just cannot get that ...
    (microsoft.public.word.mailmerge.fields)