Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I have a macro which kept throwing a 'out of stake space error'.
Ive read a bit here about stake space and confess I dont really understand the beast. I found my error was down to an endless loop, which Ive since fixed. My concern is this. The Data that the macro analyzers, is fed live into the worksheet about every 1 secs. I cant alter this as its an external software doing the feeding. My macro is in the 'worksheet calculate'. Therefore the macro fires every 1 secs. This is not a problem as such, because Iv put conditions in, which will only add data to a modeless form when met. After saying that I also added a counter at all possible condition, plus when conditions arnt met, to see how many times the macro fires. The data coming in is from Bacarat games, theres 5/6 rounds for each game. About 20 seconds between rounds. So in a typical game the macro fires 100 times, not necesarily doing anything, but firing all the same. Is this using stack space. And if so If I left it running all the time, would I run out of stack space. I have no static variables in my macro. Also theres nothing in the macro that retains any values.(I think!). All values are either added to worksheet or Form. Hope this makes sense. Regards Robert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Space removal - a first name,space last name | Excel Discussion (Misc queries) | |||
Can I automatically add space after ea. row ("Space After" in Word | Excel Discussion (Misc queries) | |||
Stake calculator | Excel Worksheet Functions | |||
formula that will go up one space if no value in specified space | Excel Worksheet Functions | |||
Paper Space / Model Space ? | Excel Discussion (Misc queries) |