Excel 2013 Calculate VBA

chrysti

Board Regular
Joined
Dec 20, 2006
Messages
218
I am using Excel 2013, just upgraded...now my Calculate won't work in my VBA

I have used Worksheet.Calculate

Turning on Auto calculations

I have tried many things that don't seem to be working! I would appreciate any help!

Thanks in advance
Chrysti
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
This is my code, with my tons of calculation commands I have just kept adding...none seem to work

Dim SheetNum As Long
Dim SheetName As String

SheetNum = 1

Do While SheetNum <= 25

'activates the first tab in the original replen workbook
SheetName = SheetNum
Worksheets(SheetName).Activate
Worksheets(SheetName).Calculate
Worksheets(SheetName).UsedRange.Column("A:AZ").Calculate
Worksheets(SheetName).ForceFullCalculation
Application.CalculateFullRebuild
Application.Calculate


Calculate

ActiveSheet.Calculate
'*****ADD IN FOR FULL CALC
Application.Calculation = xlCalculationManual
With ActiveSheet

.EnableCalculation = False

.EnableCalculation = True

.Calculate

End With

Workbook.ForceFullCalculation
Application.CalculateFull
If Not Application.CalculationState = xlDone Then
DoEvents
End If
Application.Calculation = xlCalculationAutomatic

SheetNum = SheetNum + 1
Loop
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,944
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top