on 2015 Sep 21 8:04 AM
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just for clarification, this seems to be about the EPM Add On shipped with Analysis Office 2.1. So the EPM version contained in Analysis Office corresponds to something like 'old' SP23+.
Might be that the mechanism to control the context menu of a cell has changed and it cannot be controled by pure Excel means. In the docmentation I found nothing about the context menu; there are APIs to control the ribbon.
Regards,
Gregor
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.