Skip to Content
0

Save button is not working in Analysis for Office workbook

Mar 28, 2017 at 10:24 PM

447

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Tobias Meyer Mar 29, 2017 at 06:40 AM
0

Hi,

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

Share
10 |10000 characters needed characters left characters exceeded
Jerry Wen Mar 29, 2017 at 11:51 PM
0

Sorry, it is a comma in my original code,

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

Can you help on this

0