Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default range calculate in vbe

hi all!
i have this question to be sure about..

when i place in my vbe code this line..

Range ("B2:E2").Calculate

will the calculation be linear ..
first B2 then C2 , D2 , E2 ??

tx !!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default range calculate in vbe

Depends on which Excel version you are using:

see http://www.decisionmodels.com/calcsecretsg.htm for more details

Charles

wrote:

hi all!
i have this question to be sure about..

when i place in my vbe code this line..

Range ("B2:E2").Calculate

will the calculation be linear ..
first B2 then C2 , D2 , E2 ??

tx !!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default range calculate in vbe

I believe it depends on dependencies.
For example:
If B2 has a formula of =E2*10, then E2 will be evaluated before B2.
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"pls123" wrote:

hi all!
i have this question to be sure about..

when i place in my vbe code this line..

Range ("B2:E2").Calculate

will the calculation be linear ..
first B2 then C2 , D2 , E2 ??

tx !!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default range calculate in vbe

yeye ty
i knew the thing about dependencies but didn't know
if it was the same when calculating from vbe

tx all!



"Charles Williams" wrote:

Depends on which Excel version you are using:

see http://www.decisionmodels.com/calcsecretsg.htm for more details

Charles

wrote:

hi all!
i have this question to be sure about..

when i place in my vbe code this line..

Range ("B2:E2").Calculate

will the calculation be linear ..
first B2 then C2 , D2 , E2 ??

tx !!

.

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
select range in column, calculate on range plus 3 columns, output inrange plus 7 columns ppeer Excel Programming 13 February 11th 10 09:14 PM
Calculate Range saman110 via OfficeKB.com Excel Discussion (Misc queries) 3 February 10th 08 08:54 PM
Calculate Range SRV....Frenzy Excel Worksheet Functions 1 April 4th 07 12:10 PM
How do I calculate within a range? Jdd561 Excel Worksheet Functions 5 November 5th 06 06:09 PM
calculate sum of range Paulg[_9_] Excel Programming 3 July 17th 06 06:45 PM


All times are GMT +1. The time now is 04:17 PM.

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

About Us

"It's about Microsoft Excel"