DIVINEDAR0956
IS-IT--Management
Can someone help me? How can I get my calculations to run faster? I have the following:
Sub Finalize()
Application.ScreenUpdating = False
With Application
.Calculation = xlManual
.MaxChange = 0.001
End With
'Show certain WorkSheets
ShowSheets
RebuildTask
Reb_HRS_Enter
Reb_VENDOR_LIST
' Clean up work sheets
'Delete_Every_Row_With_A_Reference_Error "TASK"
'Delete_Every_Row_With_A_Reference_Error "HRS_ENTER"
'Delete_Every_Row_With_A_Reference_Error "VENDOR_LIST"
'Redo Name Ranges to exclude blank rows
'Redo VENDOR Name Range
RedoNameRange "EXTRACT_VENDOR$", "VENDOR_EXTRACT"
'Redo HOURS Name Range
RedoNameRange "HOURS_EXTRACT", "HOURS_EXTRACT"
'Redo TASK Name Range
RedoNameRange "TASK", "TASK_EXTRACT"
With Application
.Calculation = xlAutomatic
.MaxChange = 0.001
End With
'Need a lock routine
'Select Main Screen again
' Sheets("PROJECT_INFORMATION"
.Select
'
Extract_Data
'
Extract_Vendor
'Select Main Screen again
Sheets("PROJECT_INFORMATION"
.Select
'Redo Bid Calculation
Worksheets("PROJECT_INFORMATION"
.Range("L2"
.Select
' Selection.Formula = SumBidFormula()
' Hide sheets again
HideSheets
Home
ActiveWorkbook.Save
LockOut
ActiveWorkbook.Close
Application.ScreenUpdating = True
End Sub
This spreadsheet has approximately 150 to 200 worksheets that calculates to fill in several spreadsheets for transporting to access. It seems the more sheets I add the slower the calculation gets.
I tried using the following in the above script:
With Application
.Calculation = xlAutomatic
.MaxChange = 0.001
End With
but it doesn't seem to be working.
Does anyone have any ideas on how to make a calculation script run faster in excel regardless of how many sheets are added.
Thank you.
Darlene Sippio
dsippio@comtechsystems.com
Sub Finalize()
Application.ScreenUpdating = False
With Application
.Calculation = xlManual
.MaxChange = 0.001
End With
'Show certain WorkSheets
ShowSheets
RebuildTask
Reb_HRS_Enter
Reb_VENDOR_LIST
' Clean up work sheets
'Delete_Every_Row_With_A_Reference_Error "TASK"
'Delete_Every_Row_With_A_Reference_Error "HRS_ENTER"
'Delete_Every_Row_With_A_Reference_Error "VENDOR_LIST"
'Redo Name Ranges to exclude blank rows
'Redo VENDOR Name Range
RedoNameRange "EXTRACT_VENDOR$", "VENDOR_EXTRACT"
'Redo HOURS Name Range
RedoNameRange "HOURS_EXTRACT", "HOURS_EXTRACT"
'Redo TASK Name Range
RedoNameRange "TASK", "TASK_EXTRACT"
With Application
.Calculation = xlAutomatic
.MaxChange = 0.001
End With
'Need a lock routine
'Select Main Screen again
' Sheets("PROJECT_INFORMATION"
'
Extract_Data
'
Extract_Vendor
'Select Main Screen again
Sheets("PROJECT_INFORMATION"
'Redo Bid Calculation
Worksheets("PROJECT_INFORMATION"
' Selection.Formula = SumBidFormula()
' Hide sheets again
HideSheets
Home
ActiveWorkbook.Save
LockOut
ActiveWorkbook.Close
Application.ScreenUpdating = True
End Sub
This spreadsheet has approximately 150 to 200 worksheets that calculates to fill in several spreadsheets for transporting to access. It seems the more sheets I add the slower the calculation gets.
I tried using the following in the above script:
With Application
.Calculation = xlAutomatic
.MaxChange = 0.001
End With
but it doesn't seem to be working.
Does anyone have any ideas on how to make a calculation script run faster in excel regardless of how many sheets are added.
Thank you.
Darlene Sippio
dsippio@comtechsystems.com