P
Peter Karlström
Hi
I have a probling porting a Office 2000+ application to Word 97?
Below is a short problem description.
I Have a AutoExec macro which loads from Words Startup folder. with the
following code:
+++++++++++++++++
Public wrdApp As Word.Application
Public wrdObj As Object
Sub AutoExec()
Set wrdObj = CreateObject("OffClass.WordAddIn")
Set wrdApp = ThisDocument.Application
wrdObj.initHandler wrdApp
End Sub
+++++++++++++++++++++
The COM-component (OffClass.WordAddIn) then creates a menu and some
toolbar-buttons.
In the Office 2000+ application I use the WithEvents declaration for
Office.CommandbarButton to capture the Click-Event of the menu/button.
Is there a way to create a similar function for Word 97?
Thanks in advance
I have a probling porting a Office 2000+ application to Word 97?
Below is a short problem description.
I Have a AutoExec macro which loads from Words Startup folder. with the
following code:
+++++++++++++++++
Public wrdApp As Word.Application
Public wrdObj As Object
Sub AutoExec()
Set wrdObj = CreateObject("OffClass.WordAddIn")
Set wrdApp = ThisDocument.Application
wrdObj.initHandler wrdApp
End Sub
+++++++++++++++++++++
The COM-component (OffClass.WordAddIn) then creates a menu and some
toolbar-buttons.
In the Office 2000+ application I use the WithEvents declaration for
Office.CommandbarButton to capture the Click-Event of the menu/button.
Is there a way to create a similar function for Word 97?
Thanks in advance