LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Junior Member
 
Posts: 29
Default

Thanks Garry.

If I understand you correctly, I can still have the options calc set to manual; but would have to put code into any sheet that I want to calculate automatically?

So if I were to utilise:
Sheets("Sheet1").UsedRange.Columns("A:C").Calculat e

Where would I place this code? I'm assuming in the sheet, i.e Sheet1? Under what private sub?
Or would I place this under Workbook_open in 'ThisWorkbook'?

Thanks in advance.



Quote:
Originally Posted by GS[_2_] View Post
garygoodguy laid this down on his screen :
I have set my workbook to manual formula calculation via File --
Options -- Formula -- calculation options -- manual. The reason is
that the workbook is very large with a number of calcs.

Now what I want to do is have only one worksheet to auto calculated,
while the rest are still manual. How can I achieve this, and in what
private sub/sub do I place the code?

I have tried worksheet("worksheet name").EnableCalculate = True
And placed it under Workbook_Open, but this doesn't work.

I'm looking for a way to have this one sheet always calculate (as
opposed to active sheet, etc) as the sheet will be hidden.

Also, when I go into the sheet code of the sheet I want to be automatic,
EnableCalculation in properties is set to True. How does this affect
thing's?

Thanks in advance


When calc is in manual mode you must execute the Calculate method to
cause calculation. This will happen for every sheet where
EnableCalculation is turned on (=True)...

Application.Calculate
OR
Sheets(1).Calculate
OR
Sheets(1).Rows(2).Calculate
OR
Sheets(1).Columns(2).Calculate
OR
Sheets("Sheet1").UsedRange.Columns("A:C").Calculat e


HTH

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
 
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
Calculate Selected Cells Only? fruitchunk Excel Discussion (Misc queries) 0 May 5th 10 02:44 AM
Calculate Selected cells only. Stan Excel Worksheet Functions 3 July 27th 07 05:04 PM
Calculate Based on Drop Down Item Selected JenB Excel Worksheet Functions 1 August 18th 06 05:42 PM
Auto populate and calculate between worksheets. Ry[_2_] Excel Programming 0 October 27th 04 01:28 AM
TO TOM OR KEN: macro to calculate selected range mary Excel Programming 3 January 19th 04 05:45 PM


All times are GMT +1. The time now is 07:24 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"