Cannot find the VBA macro assigned to the button in Excel

假装没事ソ 提交于 2020-01-17 09:09:09

问题


I got a workbook from someone else, and there is a button assigned with a macro (since I can right click and choose Assign Macro to actually see the macro name).

However, I cannot find this macro in any Modules inside VBE as well as the code window behind ThisWorkbook and any Sheet (so it's not an event). In addition, I found that after I clicked Assign Macro option from right-click menu, I was switched to another worksheet that has several cells that looks like this,

But it looks to me that those formula are not from WorksheetFunction. Is the button really associated with a VBA macro or if this is just something else?


回答1:


That's an XLM sheet, the "pre-VBA" way of writing macros:

https://support.office.com/en-us/article/Working-with-Excel-4-0-macros-ba8924d4-e157-4bb2-8d76-2c07ff02e0b8



来源:https://stackoverflow.com/questions/44959503/cannot-find-the-vba-macro-assigned-to-the-button-in-excel

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