#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Recalculate in VBA

How do I force a recalculation in VBA ? Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default Recalculate in VBA

Use Calculate method

To calculate
All open workbooks - Application.Calculate (or just Calculate)
A specific worksheet - Worksheets(1).Calculate
A specified range - Worksheets(1).Rows(2).Calculate or
Worksheets("Sheet1").UsedRange.Columns("A:C").Calc ulate



"dhstein" wrote:

How do I force a recalculation in VBA ? Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Recalculate in VBA

Sub stein001()
Application.Calculate
End Sub
--
Gary''s Student - gsnu200854
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Recalculate in VBA


Thanks Gary and Sheeloo
"Sheeloo" wrote:

Use Calculate method

To calculate
All open workbooks - Application.Calculate (or just Calculate)
A specific worksheet - Worksheets(1).Calculate
A specified range - Worksheets(1).Rows(2).Calculate or
Worksheets("Sheet1").UsedRange.Columns("A:C").Calc ulate



"dhstein" wrote:

How do I force a recalculation in VBA ? Thanks.


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
Charts recalculate to 100% tshad[_2_] Charts and Charting in Excel 4 September 28th 07 07:01 PM
Recalculate changes only hmm Excel Discussion (Misc queries) 3 December 18th 06 01:06 PM
Auto recalculate? Lee Harris Excel Worksheet Functions 3 November 12th 05 12:58 AM
Won't recalculate Erin Excel Discussion (Misc queries) 2 January 8th 05 03:56 AM
will not recalculate Ray S Excel Worksheet Functions 7 December 30th 04 07:42 AM


All times are GMT +1. The time now is 06:11 PM.

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"