Перейти до основного вмісту

Публікації

Додавання іконки запуску надбудови у стрічку меню Excel 2007-2019

Додати іконку запуску надбудови (Addon) у головну стрічку меню в MS Excel 2007-2019 не можливо простими засобами розробника. На  https://stackoverflow.com/questions/8850836/how-to-add-a-custom-ribbon-tab-using-vba знайшов працюючий метод. Що в свою чергу базується на порадах Microsoft з https://learn.microsoft.com/en-us/previous-versions/office/developer/office-2007/aa338202(v%3Doffice.12)#using-callbacks Метод наступний: Create Excel file/files whose ribbons you want to customise. In my case, I've created two   .xlam   files,   Chart Tools.xlam   and   Priveleged UDFs.xlam , to demonstrate how multiple add-ins can interact with the Ribbon. Create a folder, with any folder name, for   each   file you just created. Inside each of the folders you've created, add a   customUI   and   _rels   folder. Inside each   customUI   folder, create a   customUI.xml   file. The   customUI.xml   file details how Excel files interact with the ribbon.   Part 2 of the Microsoft guide   covers th