A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

about screenupdating



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 06:16 AM posted to microsoft.public.excel.misc
baha
external usenet poster
 
Posts: 11
Default about screenupdating

Hello,
I have a long code which is a kind of poker simulation that gives you
simple random poker hand and calculates the odds.If I disable
screenupdate some of the values are gone missing.It does not count
properly.However, if I activate screenupdate, no values are gone
missing. I am talking about 1 million live game or so which takes 20
minutes to run the code all in all. Is that possible that if you
'screenupdate=false' some of the data is gone missing.just for a
reference here is a part of my code
If Sheet1.Range("E12") = 5 Then
e = e + 1
Sheet1.Range("F12") = e 'that is when there is a flush
End If

any idea?
Thanks
Have a good day
Baha
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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