Hi,
I've been using Windows 10, MS Excel 2016 32-bit with this code:
This is .rels file:
Those codes were working perfect in Windows 10, but in Windows 11 they doesn't work. I use the same Excel 2016 32-bit.
Is there something I'm doing wrong?
I've been using Windows 10, MS Excel 2016 32-bit with this code:
XML:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="true">
<qat>
<sharedControls>
<button idMso="FileSave" visible="false" />
<button idMso="Cut" visible="false" />
<button idMso="Copy" visible="false" />
<button idMso="Paste" visible="false" />
<button idMso="FileOpen" visible="false" />
<button idMso="GroupPrintPreviewPrint" visible ="false" />
<button idMso="GroupInsertChartsExcel" visible ="false" />
</sharedControls>
</qat>
<tabs>
<tab id="CustomTab" label="SCM Software">
<group id="CustomGroup1" label="SCM Program">
<button id="btn1" size="large" label="Main Menu" imageMso="DataOptionsMenu" onAction="CheckVersionAndShowForm" />
<button id="btn2" size="large" label="SCM Overview" imageMso="ProjectManageDependenciesOnDeliverables" onAction="CheckVersionAndRunSCMOverview" />
<button id="btn3" size="large" label="Search Product" imageMso="SearchUI" onAction="ServiceProductSearch" />
<button id="btn4" size="large" label="PC/FC Export" imageMso= "TableExportTableToSharePointList" onAction= "OpenExportMenu" />
</group>
<group id="CustomGroup3" label="Task Force">
<button id="btn5" size="large" label="Task Force" imageMso="FileWorkflowTasks" onAction="CheckVersionAndRunExport" getVisible="GetButtonVisibility" />
<button id="btn6" size="large" label="BFD Save" imageMso="TableInsert" onAction="InsertTrendData" getVisible="GetButtonVisibility" />
</group>
<group id="CustomGroup4" label="About">
<button id="btn7" size="large" label="Version" imageMso="SourceControlGetLatestVersion" onAction="CheckSoftwareVersion" />
</group>
<group id="FilterGroup" label="Sort Data" getVisible="GetButtonVisibility">
<button id="SortAscending" label="ASC Sort" imageMso="SortAscendingExcel" onAction="SortAscending" />
<button id="SortDescending" label="DESC Sort" imageMso="SortDescendingExcel" onAction="SortDescending" />
</group>
</tab>
</tabs>
<contextualTabs>
<tabSet idMso="TabSetTableToolsExcel">
<tab idMso="TabTableToolsDesignExcel" visible="false"/>
</tabSet>
</contextualTabs>
</ribbon>
<backstage>
<button idMso="FileSave" visible="false"/>
<button idMso="FileSaveAs" visible="false"/>
<button idMso="FileOpen" visible="false"/>
<button idMso="FileClose" visible="false"/>
<button idMso="ApplicationOptionsDialog" visible="false"/>
<button idMso="FileExit" visible="false"/>
<button idMso="HistoryTab" visible="false"/>
<button idMso="OfficeFeedback" visible="false"/>
<button idMso="ShareDocument" visible="false"/>
<tab idMso="TabInfo" visible="false"/>
<tab idMso="TabRecent" visible="false"/>
<tab idMso="TabNew" visible="false"/>
<tab idMso="TabPrint" visible="false"/>
<tab idMso="TabShare" visible="false"/>
<tab idMso="TabHelp" visible="false"/>
<tab idMso="TabPublish" visible="false"/>
<tab idMso="TabSave" visible="false"/>
<tab idMso="TabOfficeStart" visible="false"/>
<tab idMso="Publish2Tab" visible="false"/>
<tab idMso="TabOfficeFeedback" visible="false"/>
<tab idMso="PlaceTabHome" visible="false"/>
</backstage>
</customUI>
This is .rels file:
XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId3"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"
Target="docProps/app.xml"/>
<Relationship Id="someID"
Type="http://schemas.microsoft.com/office/2007/relationships/ui/extensibility"
Target="customUI/customUI.xml"/>
<Relationship Id="rId2"
Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"
Target="docProps/core.xml"/>
<Relationship Id="rId1"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
Target="xl/workbook.bin"/>
<Relationship Id="rId4"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties"
Target="docProps/custom.xml"/>
</Relationships>
Those codes were working perfect in Windows 10, but in Windows 11 they doesn't work. I use the same Excel 2016 32-bit.
Is there something I'm doing wrong?