Re: Code Execution
- From: "Frank Tolstyka" <jmsinc@xxxxxxxxxxx>
- Date: Fri, 14 Jul 2006 08:36:37 -0400
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.
"Jean-Guy Marcil" <NoSpam@LeaveMeAlone> wrote in message
news:%23Zt7j8rpGHA.2400@xxxxxxxxxxxxxxxxxxxxxxx
Frank Tolstyka was telling us:a
Frank Tolstyka nous racontait que :
I have a document that has VBA code attached to the Document_Open
event. Every once in a while this code will not execute. I have
"Every once in a while " means...? (once per two years, once every month,
every other day? ...)
You mean nothing at all happens as if the code was ignored? Or the code
starts but does not terminate normally? Or it does, but produces wrong
results?
Depending on the frequency of the observed problem, you could try putting
Stop command just under the two Dim statements.not.
Then, you will be able to debug and see if the code actually starts or
checked the macro security when this happens and it is set at low.
The code is included. The document name is AIC1.doc.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@xxxxxxxxxxxxxxxxxxxxxxx
Word MVP site: http://www.word.mvps.org
.
- Follow-Ups:
- Re: Code Execution
- From: Jean-Guy Marcil
- Re: Code Execution
- References:
- Code Execution
- From: Frank Tolstyka
- Re: Code Execution
- From: Jean-Guy Marcil
- Code Execution
- Prev by Date: Re: No. of columns (newpaper)
- Next by Date: Format percent function
- Previous by thread: Re: Code Execution
- Next by thread: Re: Code Execution
- Index(es):
Relevant Pages
|