Trigger a cell to recalculate if anoter cell changes

Started by novski, May 09, 2016, 06:44:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

novski

Hi
I have some cells that seam to not calculate correctly until i make any change on the shape (1d Line), as soon  as i move it just a bit it recalculates correctly.
That happens after every re-opening the file.
So i thaugth that i can maybe make a Trigger that makes every shape to recalculate.
But i have to try without Macros because of company security-guidelines.

Does anybody have a idea how i cold start?

Regards, Novski

Surrogate


novski


Hey Ken

Novski:

   Not sure it'll solve your situation, but you can use +DEPENDSON(NOW()) to trigger a recalculation.  There's an example at http://visguy.com/vgforum/index.php?topic=6835.  It triggers a macro call, but it'll trigger any other shapesheet function without macros.  It also triggers the recalculation when you first open the file.

   Good luck!

   - Ken



Ken V. Krawchuk
Author
No Dogs on Mars - A Starship Story
http://astarshipstory.com

novski

Wow.
That did the Trick and it also helped to solve at another point as well. Thats a Magic wand!
Thanks so mutch!
Regards, Novski

+DEPENDSON(NOW())

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 224 (show)
Files included: 38 - 1696KB. (show)
Memory used: 1340KB.
Tokens: post-login.
Cache hits: 13: 0.00509s for 26,573 bytes (show)
Cache misses: 3: (show)
Queries used: 18.

[Show Queries]