B
Bernhard
Hi
I'm trying to write an add-in for Office XP. The add-in inserts a menu item
into the tools menu, when I click on it the procedure
Public Sub mmCommand_Click() Handles mmCommand.Click
is called. From here I have access to the application object which I got
from the procedure 'Public Sub OnConnection'. Here I can access e.g. the
properties of the currently opened document.
In the mmCommand_Click procedure I call a form 'ExportProperty':
Dim dlgExport As New ExportProperty()
dlgExport.ShowDialog()
The form is displayed but I don't have access to the application object
anymore. I have spent almost a day now but I'm lost how to do this. Any help
is appreciated
Regards, Bernhard
I'm trying to write an add-in for Office XP. The add-in inserts a menu item
into the tools menu, when I click on it the procedure
Public Sub mmCommand_Click() Handles mmCommand.Click
is called. From here I have access to the application object which I got
from the procedure 'Public Sub OnConnection'. Here I can access e.g. the
properties of the currently opened document.
In the mmCommand_Click procedure I call a form 'ExportProperty':
Dim dlgExport As New ExportProperty()
dlgExport.ShowDialog()
The form is displayed but I don't have access to the application object
anymore. I have spent almost a day now but I'm lost how to do this. Any help
is appreciated
Regards, Bernhard