cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Disable EPM SAVE button

Former Member
0 Likes
783

Hi - is there a simple VBA code to disable the save button in EPM ribbon, for a specific template.

I have my own custom 'svae' button and i would like to disable the standard save function in EPM.

BR-Hassan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186338
Active Contributor
0 Likes
former_member186338
Active Contributor
0 Likes

P.S. Another option is to customize EPM ribbon based on help: 43 Ribbon Extensibility

Former Member
0 Likes

which statement from your code?

this?

Public Sub MySave()

    blnMySave = True

    blnMyRef = True

    epm.SaveAndRefreshWorksheetData

    blnMySave = False

    blnMyRef = False

    MsgBox "Saved"

End Sub

former_member186338
Active Contributor
0 Likes

Sorry, don't copy/paste code without understanding!!!! Ask somebody with VBA experience!

Former Member
0 Likes

Hi Hassan

Refer this thread for disabling Save button...https://scn.sap.com/thread/3512570. It has Refresh disable code too...will have to segregate it.

Regards,

JP

former_member186338
Active Contributor
0 Likes

Please, provide your code

Former Member
0 Likes

......Unfortunately I don't! You have provided such a good solution....why not use that...