Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to stop all Excel funtions for a period

Hello,
I built an Excal Worksheets that analyse specefic data that I Copy it
to a sheet called "Data"
when I clear the old data from the sheet, Excel starts to calculate all
the formulas in the workbook. then when I copy the new data, it starts
to calculate it again.
Is there a way to disable the functions, making my changes and then
enabling all the function again?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How to stop all Excel funtions for a period

Setting the calculation to manual at the start of the Macro might work.
Try this:

Application.Calculation = xlCalculationManual

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default How to stop all Excel funtions for a period

Nel post ups.com
*tonyhabayeb* ha scritto:

Hello,
I built an Excal Worksheets that analyse specefic data that I Copy it
to a sheet called "Data"
when I clear the old data from the sheet, Excel starts to calculate
all the formulas in the workbook. then when I copy the new data, it
starts to calculate it again.
Is there a way to disable the functions, making my changes and then
enabling all the function again?


Hi Tony,

Yes, you can stop Excel Calculation. Menu Tools, Options, Tab Calculation,
select Manual. At the end of your copy, set again on Automatic.


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default How to stop all Excel funtions for a period

Hi Tony,

Expanding slightly on your other responses, try something like:

'=============
Public Sub Tester()
Dim CalcMode As Long

On Error GoTo XIT
With Application
CalcMode = .Calculation
.Calculation = xlCalculationManual
End With

'Your code

XIT:
Application.Calculation = CalcMode

End Sub
'<<=============


---
Regards,
Norman


"tonyhabayeb" wrote in message
ups.com...
Hello,
I built an Excal Worksheets that analyse specefic data that I Copy it
to a sheet called "Data"
when I clear the old data from the sheet, Excel starts to calculate all
the formulas in the workbook. then when I copy the new data, it starts
to calculate it again.
Is there a way to disable the functions, making my changes and then
enabling all the function again?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to stop all Excel funtions for a period

Thnx a lot.

I used the following command to disable and enable it:

Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual

..... my code is here ....

Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic



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
i've spanish version of excel-how do I change funtions to english Marcel Excel Worksheet Functions 0 December 10th 08 10:19 PM
Great Sites for Excel Funtions Prof Excel Worksheet Functions 2 December 19th 06 01:35 PM
use of morefunc funtions in excel macros K7 Excel Programming 2 June 6th 06 11:58 PM
In Excel , How do I turn off the math funtions? randrews13 Excel Worksheet Functions 2 May 19th 06 02:54 PM
Period to Period percentage change? cs120 Excel Discussion (Misc queries) 1 September 18th 05 12:05 PM


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

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"