Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Background calculation w/o updating cells

I've got a small problem.

I have a userform with an interface connecting textboxes to cells in
worksheet. On the worksheet there is a quite complex equation with lot
of cross references. Now I want to simulate what happens if one of th
input variables vary from one value to another. The problem is, I wan
this to happen in the background, so that the graphs on the workshee
won't "flash" and change for every value in the loop. I'm thiking o
something like this (pseudo code):

For value = 3 to 7
Set one of the input cells to value
Get result(value) from result cell
Next

Can this calculation be "simulated" so that it doesn't show on th
worksheet?

Thanks in advance

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Background calculation w/o updating cells

Turn off Screen Updating while it calculates the loop, then turn it back on
to display the results.

Application.ScreenUpdating = False
For value = 3 to 7
Set one of the input cells to value
Get result(value) from result cell
Next
Application.ScreenUpdating = True

Mike F

"phreud " wrote in message
...
I've got a small problem.

I have a userform with an interface connecting textboxes to cells in a
worksheet. On the worksheet there is a quite complex equation with lots
of cross references. Now I want to simulate what happens if one of the
input variables vary from one value to another. The problem is, I want
this to happen in the background, so that the graphs on the worksheet
won't "flash" and change for every value in the loop. I'm thiking of
something like this (pseudo code):

For value = 3 to 7
Set one of the input cells to value
Get result(value) from result cell
Next

Can this calculation be "simulated" so that it doesn't show on the
worksheet?

Thanks in advance!


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Background calculation w/o updating cells

Sweet! Thanks alot

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating charts when Manual Calculation enabled hnyb1 Excel Discussion (Misc queries) 2 February 5th 09 09:13 PM
Why is my calculation not updating in a table? Samantha Excel Discussion (Misc queries) 0 November 5th 07 02:23 PM
how can you put a background in certain cells Roger Excel Worksheet Functions 0 April 20th 06 05:38 PM
Constant Cell calculation updating Rich S. Excel Discussion (Misc queries) 1 April 7th 06 10:02 PM
URGENT - Calculation not updating harpscardiff Excel Discussion (Misc queries) 11 February 15th 06 03:09 PM


All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"