小编ste*_*ton的帖子

'on error goto 0'和'on error goto -1'之间的区别 - VBA

任何人都可以在VBA中找到'On error goto -1'和'on error goto 0'之间的区别?我试过谷歌和msdn,但我没有运气.

excel msdn vba

40
推荐指数
2
解决办法
9万
查看次数

Excel 2007插件显示但无法正常工作

我创建了一个出现在UI中的Excel Addin,但每当我点击它时它都不起作用.

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
Run Code Online (Sandbox Code Playgroud)

这是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> …
Run Code Online (Sandbox Code Playgroud)

excel vba add-in

7
推荐指数
1
解决办法
705
查看次数

标签 统计

excel ×2

vba ×2

add-in ×1

msdn ×1