मैंने यूआई में दिखाई देने वाला एक्सेल एडिन बनाया, लेकिन जब भी मैं इसे क्लिक करता हूं तो यह काम नहीं करता है।एक्सेल 2007 एडिन प्रदर्शित करना लेकिन काम नहीं कर रहा
Option Explicit
Public sheetscol As Collection, depshtnm
Public hasdeps As Boolean
'***********************************
'*finds the external dependencies of the cell, and places them in the 'sheetscol' collection
'***********************************
Sub depfinder_eventhandler(control As IRibbonControl)
depfinder
End Sub
'--------------
Sub depfinder
...
End sub
यह XML CustomUI है:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
xmlns:m="MattSinSpace">
<ribbon>
<tabs>
<tab idQ="m:MattTab" label="Matt Tools" insertAfterMso="TabHome">
<group idQ="m:migration" label="migration tools">
<button idQ="m:DepFinderButton1" label="Highlight Dependencies" size="large"
onAction="depfinder_eventhandler" imageMso="HappyFace" />
</group>
<group idQ="m:RS1" visible = "false"/>
<group idQ="m:RS2" visible = "false"/>
</tab>
</tabs>
</ribbon>
</customUI>
मैं ऐड-इन्स बनाने में सुंदर शौकिया हूं, और मैं मेरी मदद करने के लिए इस पृष्ठ का उपयोग किया गया है:
http://erpcoder.wordpress.com/2012/05/30/how-to-create-a-custom-ribbon-addin-for-excel-2010/
ऐसा प्रतीत होता है कि मेरे कोड और मेरे यूआई में चीजें ठीक हैं, केवल अंतर यह है कि मैंने नामस्थान शामिल किया है।
देखने के लिए कि इस मदद करता है? http://stackoverflow.com/questions/8850836/how-to-add-a- कस्टम-ribbon-tab-using-vba/8852767#8852767 –