cancel
Showing results for 
Search instead for 
Did you mean: 

Save button is not working in Analysis for Office workbook

Former Member
0 Kudos

I created a save data button in my workbook by using the following code:

Sub savePlanData() IResult = Application.Run("SAPExecuteCommand", "PlanDataSave") End Sub

It is a copy of SAP's code, but when I tried to run it, it not working. After debug the code, I notice that the value for Application.Run("SAPExecuteCommand", "PlanDataSave") is 0 instead of 1.

Anybody know how to fix it?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sorry, it is a comma in my original code,

aditya_bakshi
Participant
0 Kudos

Did you get the Save button to work? I am having a similar problem.

Can you help on this

reyemsaibot
Active Participant
0 Kudos

Hi,

you wrote a dot and not a comma between "SAPExecuteCommand" and "PlanDataSave". Can you change this and test it again?