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

Публікації

Показано дописи з березень, 2024

Додавання іконки запуску додатків у стрічку меню 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.xlsm  , 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 the elements in the  customUI.xml  file. My  custom