B
Beeawwb
Hi there everybody,
I've been trying to solve this problem for weeks now, I keep getting an
intermittent error when running some code in Word 2003. I'm getting a
run-time error in Word when I run some of my code, and I can't determine why.
Every artcile I've read on the internet says that I have some "unqualified"
code somewhere, which is creating a reference to Word which then doesn't get
released.
The problem is, as far as I can tell, my code is all properly qualified.
I guess I have 2 questions. The first is, when qualfying code, how does one
refer to the "currently active document", eg, the one which has the button
being pushed. The examples I've seen all use "oWord.Documents.Add" which
isn't what I'm looking to do.
Secondly, would anybody be willing to look over my code and see if I've
missed anything? I've been staring at the code for so long that I'm apt to
miss something somewhere, and a second pair of eyes would really help.
Thanks in advance for reading and any assistance you can provide.
-Bob
I've been trying to solve this problem for weeks now, I keep getting an
intermittent error when running some code in Word 2003. I'm getting a
run-time error in Word when I run some of my code, and I can't determine why.
Every artcile I've read on the internet says that I have some "unqualified"
code somewhere, which is creating a reference to Word which then doesn't get
released.
The problem is, as far as I can tell, my code is all properly qualified.
I guess I have 2 questions. The first is, when qualfying code, how does one
refer to the "currently active document", eg, the one which has the button
being pushed. The examples I've seen all use "oWord.Documents.Add" which
isn't what I'm looking to do.
Secondly, would anybody be willing to look over my code and see if I've
missed anything? I've been staring at the code for so long that I'm apt to
miss something somewhere, and a second pair of eyes would really help.
Thanks in advance for reading and any assistance you can provide.
-Bob