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

Add a data source using VBA

$
0
0

Dear all,

 

I am quite new in SAP Analysis for Office. One of my first steps is to set up an automatic reporting workbook for products.

 

I have to show n times a specific query (query designer). Every product should have an own spread sheet in Excel and the queries shuold be filled by different variables (product_Ids).

 

My questions:

Is there a way to add the data source (query) into an Excel wokbook using VBA?

I want to prepare a kind of master list containing the relevant product IDs. The macro should Loop the table and

a) add an addtional table in the Excel workbook

b) add a copy of the specific product query and

c) fill the query's variable with the relevant product-Id

 

In the user guide I found a command to set/Change the query variables but I did not find a way to add a new query.

 

Many thanks in advance

Hans-Peter


Viewing all articles
Browse latest Browse all 1521

Trending Articles