Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

Re: How to customize or remove the BPC/EPM Menu

$
0
0

Hi Christian,

 

In VBA I managed to disable (not delete!) EPM Menu:

 

Sub DisableEPMMenu()

 

Dim ContextMenu As CommandBar
Dim ctrl As CommandBarControl

 

' Set ContextMenu to the Cell context menu.
Set ContextMenu = Application.CommandBars("Cell")

 

' Disable the custom control with the Caption: EPM
For Each ctrl In ContextMenu.Controls
    If ctrl.Caption = "EPM" Then
        ctrl.Enabled = False
    End If
Next ctrl

End Sub

 

Vadim


Viewing all articles
Browse latest Browse all 2794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>