Thanks,budy!
I change my code like this:
Do you have any idea about the dialog things? I really want the dialog as a non-modal form.
Is there a corresponding way of this method in word, as
Thanks again!
I change my code like this:
Imports NetOffice.WordApi
Dim Application As NetOffice.WordApi.Application = GlobalHelperModules.GlobalModule.AddIns.Application
Dim Selection As NetOffice.WordApi.Selection = GlobalHelperModules.GlobalModule.AddIns.Application.Selection
And everything works!
Do you have any idea about the dialog things? I really want the dialog as a non-modal form.
Is there a corresponding way of this method in word, as
Application.CommandBars.FindControl(id:=775).Execute()
to use building-in dialog. Thanks again!