Office Add-In for Excel falsely acts on every open workbook

杀马特。学长 韩版系。学妹 提交于 2019-12-08 11:20:06

问题


Using Excel-2010, VS-2013,

I created an 'Office Add-In' that adds functionality to Excel. (The functionality, for example involves new Shortcut-Actions that color certain Excel-Cells.)

Everything is working perfectly - except that the functionality added is carried out on all open Excel-workbooks at once! This is not the intention. The intention is that this Add-In functionality only performs on the one Excel-workbook the user currently works with.

Is there any idea on how to achieve this ? (i.e. Add-In functionality limited to only the Excel-workbook currently worked at - not the other open ones too)

来源:https://stackoverflow.com/questions/41827715/office-add-in-for-excel-falsely-acts-on-every-open-workbook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!