#1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default calculation

I have a macro that is inserting lines on 2 sheets in another workbook. The
other workbook has 10 sheets. 1 sheet contains the data and the other 9
sheets contain many formulas that are all inter-connected with the various
sheets. The lines are inserted in the data sheet and in 1 of the other 9
sheets. The other 8 sheets are not changed at all

The problem is when I insert a row on either of the 2 sheets, it takes
forever. I have tried changing calculation to manual and then turning it
back on to automatic when I'm done running the code but that doesn't seem to
help.

I would appreciate any suggestions to speed up the row insertion process.
Thanks for your help......
--
JT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default calculation

You can turn off screenupdating at the start of your macro and turn it
on again before 'End Sub'

Post your code for further comments.

Regards,
Per

On 13 Jan., 16:18, JT wrote:
I have a macro that is inserting lines on 2 sheets in another workbook. *The
other workbook has 10 sheets. *1 sheet contains the data and the other 9
sheets contain many formulas that are all inter-connected with the various
sheets. *The lines are inserted in the data sheet and in 1 of the other 9
sheets. *The other 8 sheets are not changed at all

The problem is when I insert a row on either of the 2 sheets, it takes
forever. *I have tried changing calculation to manual and then turning it
back on to automatic when I'm done running the code but that doesn't seem to
help.

I would appreciate any suggestions to speed up the row insertion process. *
Thanks for your help......
--
JT


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default calculation

Forgot the code....

Application.ScreenUpdating=False

---
Per

On 13 Jan., 17:07, Per Jessen wrote:
You can turn off screenupdating at the start of your macro and turn it
on again before 'End Sub'

Post your code for further comments.

Regards,
Per

On 13 Jan., 16:18, JT wrote:



I have a macro that is inserting lines on 2 sheets in another workbook. *The
other workbook has 10 sheets. *1 sheet contains the data and the other 9
sheets contain many formulas that are all inter-connected with the various
sheets. *The lines are inserted in the data sheet and in 1 of the other 9
sheets. *The other 8 sheets are not changed at all


The problem is when I insert a row on either of the 2 sheets, it takes
forever. *I have tried changing calculation to manual and then turning it
back on to automatic when I'm done running the code but that doesn't seem to
help.


I would appreciate any suggestions to speed up the row insertion process. *
Thanks for your help......
--
JT- Skjul tekst i anførselstegn -


- Vis tekst i anførselstegn -


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
Multi threaded calculation (multi CPU) - impact on calculation spe Pascal[_2_] Excel Discussion (Misc queries) 1 December 3rd 08 10:46 AM
PMT Calculation Cellvalue0 Excel Programming 2 May 22nd 06 01:58 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
range.calculation with UDF not working when calculation is set to automatic Brian Murphy Excel Programming 5 October 14th 03 07:02 PM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"