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

VBA - Best way to refresh on open (not all queries)

$
0
0

I have an AO template with many queries. However, I only want a specific query to refresh on open. Using SAPExecuteCommand's refresh crashes Excel at times. Is there an ideal way to accomplish this?

 

Reason I'm even doing this is to "initialize" the prompt variables, which apparently requires first refreshing the query. I do not use the prompt dialog but instead use VBA to set the prompts. Before I can set the prompts, I have to force one of the queries to refresh. Kind of a catch 22 situation. Is there anyway to SAPExecuteCommand "initialize variables"? Refreshing the query on workbook open frequently crashes AO/Excel.

 

Thanks in advance...


Viewing all articles
Browse latest Browse all 1521

Trending Articles



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