Execute code after OLAP connection refreshes

Polis

New Member
Joined
May 13, 2014
Messages
5
Hi there, I have created a set of reports containing cube functions (reports are connected to OLAP). What I need is for my code to continue executing as soon as the OLAP connection refresh has finished. Now, the code carries on whilst the refresh is still happening.. This results in reports being saved with "VALUE" errors in it. I did a research into this to find: 1) BackgroundQuery property always FALSE for OLAP (therefore of no use) 2) wait command stops also the Refresh of data. I was amazed by the flexibility of cube functions for reporting and converted all the pivot tables (OLAP) into functions. I am very dissapointed now that I cannot use VBA code to refresh the data. Any help would be very much appreciated. I can post the code if needed. Thank you. Vojta
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,216,474
Messages
6,130,841
Members
449,598
Latest member
sunny_ksy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top