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

Analysis 2.x Office Automation issue

$
0
0

I have an Access database that contains some VBA code that opens an Analysis 1.4-enabled workbook, to which I pass the results of a query as prompt values. This has worked great up until I installed Analysis 2.2.

 

Now when I open the Analysis-enabled workbook (with 2.2 installed), I receive a VBA error:

429 Error.png

 

Here is a snippet of the code I use:

 

Dim xlApp As Excel.Application

Dim xlWB As Excel.Workbook

Set xlApp = CreateObject("Excel.Application")

xlApp.Visible = True

Set xlWB = xlApp.Workbooks.Open("some excel file", , False)

 

The code fails on Set xlApp = CreateObject("Excel.Application").

 

If Analysis is not set to open with Excel, the code works, but, of course, the workbook is not Analysis-enabled and I cannot refresh my data.

 

Anyone have any ideas how to get around this?

 

p.s.

 

I have googled quite a bit, and there is a lot of info re: error 429, but I haven't been able to find any solutions.


Viewing all articles
Browse latest Browse all 1521

Trending Articles



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