A
Alexis Kachtiane
Hi,
Our environment: NT4.0 Word 97-SR2
I created a Word template containing an AutoOpen macro
that creates all the styles and list templates I need.
I get a strange error with the LinkToListTemplate
instruction on some of our PC's.
The instruction where it crashes is the following:
ActiveDocument.Styles
(strMPRStyleTextBullet1).LinkToListTemplate _
ListGalleries(wdBulletGallery).ListTemplates
(lngMPRTextBullet1ListTemplate)
- strMPRStyleTextBullet1 is an existing style (just
created)
- lngMPRTextBullet1ListTemplate = 1 (constant)
When the instruction is executed, it never ends, the CPU
usage rises to 100%, and the only way to stop the process
is to kill the application.
The strange thing is that the problem does not appear on
90% of our PC's ! It only happens on a few computers !
Does anybody have an idea about a solution ?
Thanks in advance !
Alex
Our environment: NT4.0 Word 97-SR2
I created a Word template containing an AutoOpen macro
that creates all the styles and list templates I need.
I get a strange error with the LinkToListTemplate
instruction on some of our PC's.
The instruction where it crashes is the following:
ActiveDocument.Styles
(strMPRStyleTextBullet1).LinkToListTemplate _
ListGalleries(wdBulletGallery).ListTemplates
(lngMPRTextBullet1ListTemplate)
- strMPRStyleTextBullet1 is an existing style (just
created)
- lngMPRTextBullet1ListTemplate = 1 (constant)
When the instruction is executed, it never ends, the CPU
usage rises to 100%, and the only way to stop the process
is to kill the application.
The strange thing is that the problem does not appear on
90% of our PC's ! It only happens on a few computers !
Does anybody have an idea about a solution ?
Thanks in advance !
Alex