Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When I run a lengthy piece of code the sheet immediately calculates even
though a calculation (which takes quite a while) has not been included in the code. Is there a way to prevent this from happening? Pat |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Pat, try this
Application.Calculation = xlCalculationManual 'your code here Application.Calculation = xlCalculationAutomatic -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Pat" wrote in message .. . When I run a lengthy piece of code the sheet immediately calculates even though a calculation (which takes quite a while) has not been included in the code. Is there a way to prevent this from happening? Pat |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paul B,
your additional code has help speed up my spreadsheet, many thanks. Pat "Paul B" wrote in message ... Pat, try this Application.Calculation = xlCalculationManual 'your code here Application.Calculation = xlCalculationAutomatic -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Pat" wrote in message .. . When I run a lengthy piece of code the sheet immediately calculates even though a calculation (which takes quite a while) has not been included in the code. Is there a way to prevent this from happening? Pat |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Prevent Manual Calculation Mode | Excel Discussion (Misc queries) | |||
Prevent formula calculation from overriding validation | Excel Worksheet Functions | |||
Prevent calculation on open | Excel Discussion (Misc queries) | |||
Prevent negative numbers from changing to positive in calculation | New Users to Excel | |||
Prevent EXCEL from rounding the result of a calculation | Excel Discussion (Misc queries) |