nykager wrote:Thank you, but thats not the case, I am in manual calculation when working with Tm 1 files.
If I hit F9 my excel will freeze and calculate for 5 minutes or something, then TM1 is updated and I can go on. And my Boss thinks, that VBA is way faster.
(My computer skills are decent, it is just the first time in my life I have to work with tm1)
I would advise you to get someone who is skilled in TM1 to review your reporting spreadsheets, I'm betting they are constructed in ways that are far from optimal. I notice that the example you gave in which your DBRW references are written uses a hardcoded reference to the cube not a cell reference.
=DBRW("tm1usa:costctr",$B53,$A$1,$C$10,$B$1,$B$2)
This means you are not using a VIEW function to optimize the retrieval of data from the TM1 server (hint look this up in the TM1 reference material and for a practical example slice out a view to a worksheet and look at cell B1.)
Recently I had a case where a workbook that was taking 5 - 8 minutes to calculate on each refresh was reduced to 20 - 30 sec on initial refresh and <5 sec on subsequent refreshes by adding correct VIEW formulas. This is a good place to start.