Search found 8 matches

by lostit
Mon Nov 30, 2009 9:39 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Summing by Attribute
Replies: 6
Views: 6151

Re: Summing by Attribute

***** Without going into a long explaination on this, using a hierarchy to store these accounts, is not an option here. It seems odd that you cannot use a hierarchy. What is the reason ? Otherwise, your rule could work like this: ['Total1']=N:['Acct1']+['Acct2']+['Acct3']...['AcctN']; But that is a...
by lostit
Mon Nov 30, 2009 8:54 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Summing by Attribute
Replies: 6
Views: 6151

Summing by Attribute

I realize that this is probably a simple answer for some of you but I'm stuck on this and can't find an answer in the documentation or an existing thread regarding this on the board, so any help that can be provided would be greatly appreciated. I would like to know how I would go about summing up a...
by lostit
Fri Jul 24, 2009 2:59 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Irregular Macro Performance when Deleting DBRW formulas
Replies: 10
Views: 7984

Re: Irregular Macro Performance when Deleting DBRW formulas

Nevertheless, I would be interested to see if the filters would perform better; if you'd be interested too, leave a small sample file so that I can write the code and then you can test it on your 10,000 lines. Wim I tried it and found the performance to actually be a little slower, approx 32 second...
by lostit
Wed Jul 22, 2009 9:42 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Irregular Macro Performance when Deleting DBRW formulas
Replies: 10
Views: 7984

Re: Irregular Macro Performance when Deleting DBRW formulas

No idea why one PC is faster than the other but another optimisation to try is to do a union of all the cells to delete and then delete them all in one go ... This is my code for hiding rows, should be able to do something similar with delete (I've put in the command in a comment at the end). Sub H...
by lostit
Wed Jul 22, 2009 4:12 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Irregular Macro Performance when Deleting DBRW formulas
Replies: 10
Views: 7984

Re: Irregular Macro Performance when Deleting DBRW formulas

Hi Why not coding the Autofilter or the Advanced filter? (If I understand the problem well). In my experience, with large spreadsheets, this is often a multitude faster than loops. Indeed, first turn off automatic calculation, events, screenupdating and the statusbar if applicable. Wim I understand...
by lostit
Wed Jul 22, 2009 4:09 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Irregular Macro Performance when Deleting DBRW formulas
Replies: 10
Views: 7984

Re: Irregular Macro Performance when Deleting DBRW formulas

No idea why one PC is faster than the other but another optimisation to try is to do a union of all the cells to delete and then delete them all in one go ... This is my code for hiding rows, should be able to do something similar with delete (I've put in the command in a comment at the end). Sub H...
by lostit
Wed Jul 22, 2009 4:07 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Irregular Macro Performance when Deleting DBRW formulas
Replies: 10
Views: 7984

Re: Irregular Macro Performance when Deleting DBRW formulas

Before running the delete loop, I would be tempted to add: blnAppEvents = Application.EnableEvents Application.EnableEvents = False And afterward: Application.EnableEvents = blnAppEvents Does that help ? I already tried the enableevents trick, but it had no impact. However, what is the "blnApp...
by lostit
Wed Jul 22, 2009 1:44 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Irregular Macro Performance when Deleting DBRW formulas
Replies: 10
Views: 7984

Irregular Macro Performance when Deleting DBRW formulas

I have a macro that is cycling through a collection that then utilizes selected members of that collection to flag selected excel rows for deletion. The coding seems to be relatively simple but the issue is this: A.) There are approximately 2000 lines that it has to delete. B.) On 2 of the office co...