DiscoInferno
April 8th, 1999, 03:25 AM
When I run 2 consecutive sessions of Word activated from VB, the second session produces a "invalid procedure call runtime error 5" when I run a vba macro with Selection.othercode in it. Other lines of code within th emacro work fine, just the line containing Selection.othercode. If Word is NOT closed down between sessions the macro works as expected.
Anyone got any clues? I run VB4 and Word97 OSR2 for this particular project.
Cheers m'dears
Anyone got any clues? I run VB4 and Word97 OSR2 for this particular project.
Cheers m'dears