Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2008

Tip: Looking for answers? Try searching our database.

Stopping Auto calculation in part of worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David_Matano@agilent.com - 30 Apr 2008 00:54 GMT
HI need some help

         I would like to know how to Turnoff Autocalculation in Part
of the worksheet and let the other parts continue to Autocalculate

HEELP!
Alan - 30 Apr 2008 02:04 GMT
I don't think that can be done.
Alan.
> HI need some help
>
>          I would like to know how to Turnoff Autocalculation in Part
> of the worksheet and let the other parts continue to Autocalculate
>
> HEELP!
Alan - 30 Apr 2008 02:12 GMT
You could maybe make the formulas you don't want to calculate dependent on
another cell, for example:-
=IF(A1="A",SUM(I1:I6),"")
This would calculate of course, but wouldn't give a result unless A1
contained 'A'
Regards,
>I don't think that can be done.
> Alan.
[quoted text clipped - 4 lines]
>>
>> HEELP!
Ken Johnson - 30 Apr 2008 05:57 GMT
On Apr 30, 9:54 am, David_Mat...@agilent.com wrote:
>  HI need some help
>
>           I would like to know how to Turnoff Autocalculation in Part
> of the worksheet and let the other parts continue to Autocalculate
>
> HEELP!

Go Tools|Options|Calculation then select Manual then OK.

Then run a macro like...

Public Sub CalculateRow4()
Range("4:4").Calculate
End Sub

In this example only formulas in row 4 will be calculated.

Ken Johnson
Dave Mills - 30 Apr 2008 06:35 GMT
>On Apr 30, 9:54 am, David_Mat...@agilent.com wrote:
>>  HI need some help
[quoted text clipped - 15 lines]
>
>Ken Johnson

You could then set up a Change Event procedure that calls the CalculateRow4
whenever any of the cells in row4 change. By using named areas you could make it
easy to read.

In the Sheet VBA code

Private Sub Worksheet_Change(ByVal Target As Range)

 Dim isect As Range

 Set isect = Application.Intersect(Target, Range("Data"))
 If Not (isect Is Nothing) Then
   Range("Data").Calculate  'You could calc a different range here if required.
 End If

End Sub
Signature

Dave Mills
There are 10 type of people, those that understand binary and those that don't.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.