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" <glass_patrick@hotmail.com> wrote in message
news:%23%23jGZmh%23EHA.2572@tk2msftngp13.phx.gbl...
> 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
>
>
Bookmarks