P
Paul Hooper
We have a number of very simple DOT files that contain a one-line macro and a
toolbar that are used to automate access to a product. The one-line macro is
an ActiveDocument.Shapes.AddOLEObject command that is only invoked when the
toolbar button is pushed.
The full line is
ActiveDocument.Shapes.AddOLEObject Anchor:=Selection.Range, ClassType:=
"FXDraw3.Document", FileName:="", LinkToFile:=False, DisplayAsIcon:=False
Our problem is that Word (particularly, but not exclusively Word 2003) seems
to disable this template file on irregular occasions. Users need to go to the
Templates and Add-Ins screen to re-enable them which is annoying for
everyone. Sometimes Word complains that the "last time this template file
was run, it caused a serious problem" when the template file is enabled.
Interestingly, another template file that still uses a
WordBasic.InsertObject command does not seem to be susceptible to the problem
- but that may be because that particular product is much less popular.
So the question is... Does anyone know of anything that could be triggering
this behaviour in Word?
Thanks in anticipation.
Paul Hooper
toolbar that are used to automate access to a product. The one-line macro is
an ActiveDocument.Shapes.AddOLEObject command that is only invoked when the
toolbar button is pushed.
The full line is
ActiveDocument.Shapes.AddOLEObject Anchor:=Selection.Range, ClassType:=
"FXDraw3.Document", FileName:="", LinkToFile:=False, DisplayAsIcon:=False
Our problem is that Word (particularly, but not exclusively Word 2003) seems
to disable this template file on irregular occasions. Users need to go to the
Templates and Add-Ins screen to re-enable them which is annoying for
everyone. Sometimes Word complains that the "last time this template file
was run, it caused a serious problem" when the template file is enabled.
Interestingly, another template file that still uses a
WordBasic.InsertObject command does not seem to be susceptible to the problem
- but that may be because that particular product is much less popular.
So the question is... Does anyone know of anything that could be triggering
this behaviour in Word?
Thanks in anticipation.
Paul Hooper