Hi all,
Having problems on something that i initially thought was simple, recalculating a bunch of values based on the excel functions when i press a button. I have tried various ways but it never works.
I have at the mo....
Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
End Sub
Private Sub CommandButton1_Click()
Application.Calculate
End Sub
i have also tried a for each in active workbook.....calculate but still no joy.
Would anyone be able to tell me what i am doing wrong? Thanks
Having problems on something that i initially thought was simple, recalculating a bunch of values based on the excel functions when i press a button. I have tried various ways but it never works.
I have at the mo....
Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
End Sub
Private Sub CommandButton1_Click()
Application.Calculate
End Sub
i have also tried a for each in active workbook.....calculate but still no joy.
Would anyone be able to tell me what i am doing wrong? Thanks