Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Analysis, edition for Microsoft Office
Viewing all articles
Browse latest Browse all 1521

SAP BO Office Analysis - Multiple VBA Buttons in separate sheets

$
0
0

Hi,

 

In my requirement I have created multiple sheets in 1 workbook using 1 query by creating multiple datasource and crosstabs.

In the standard workbook there are multiple Macro buttons such as "Save" , "ClearPlan" etc..

 

I created a separate buttons in the sheets that I have created and copied the same code.

For Save I used the code as below:

 

IResult = Application.Run("SAPExecuteCommand", "PlanDataSave")

 

But the above code Saves the entire workbook not that singe sheet.

I also tried adding the respective DataSource but it didnt worked.

 

IResult = Application.Run("SAPExecuteCommand", "PlanDataSave" , "DS_2")

 

Please can you help me on my requirement.

I needed sheet wise buttons along with Save functionality Sheet wise not entire workbook.

 

Regards,

Ravi


Viewing all articles
Browse latest Browse all 1521

Trending Articles



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