B
- B@rney
Hi Guys'n Dolls!
I have a Office Add-In that inherits Extensibility.IDTExtensibility2.
In OnStartupComplete I check if(applicationObject is Word.Application) and
so on for the three Office applications I want my add-in to support, and add
Open and BeforeClose event handlers, in which I do most logic. Then I add a
button.
The Add-In now works great, after a quite some time work, but my customer
just noticed some strange behaviour.
When they open a Word document, containing a Excel Spreadsheet object, and
wait until the SpellChecker is finished working, the Excel Spreadsheet is
converted to a bitmap! This only happends if the Add-In is installed on the
client and registered for Excel (in HKLM[or
HKCU]/Software/Microsoft/Office/Excel/AddIns/MyAddIn.Connect).
Whats going on here? Anyone?
I've added code that iterates through any embedded objects in the Open Event
and marks their respective ranges as not to be spellchecked, but if the user
changes language, or forces a spellcheck, the objects will be converted...
I have a Office Add-In that inherits Extensibility.IDTExtensibility2.
In OnStartupComplete I check if(applicationObject is Word.Application) and
so on for the three Office applications I want my add-in to support, and add
Open and BeforeClose event handlers, in which I do most logic. Then I add a
button.
The Add-In now works great, after a quite some time work, but my customer
just noticed some strange behaviour.
When they open a Word document, containing a Excel Spreadsheet object, and
wait until the SpellChecker is finished working, the Excel Spreadsheet is
converted to a bitmap! This only happends if the Add-In is installed on the
client and registered for Excel (in HKLM[or
HKCU]/Software/Microsoft/Office/Excel/AddIns/MyAddIn.Connect).
Whats going on here? Anyone?
I've added code that iterates through any embedded objects in the Open Event
and marks their respective ranges as not to be spellchecked, but if the user
changes language, or forces a spellcheck, the objects will be converted...