Firstly, thanks for your help in advanced. I am a newbie in this forum and am a basic macro editor. My apologies if any of my post / codes doesn't make sense.
I am currently working on a report which has huge amount of raw data and formula referencing to multiple worksheets. The report is being shared internally and with customer. Due to the size of the file, it causes the report to calculate on every single click. I have set the calculation mode to manual via macro (as shown below) and included a REFRESH button (range("Forecast").calculate) which calculates the worksheet when it is clicked by the user.
This works fine if one workbook is opened. However, if multiple workbook are open at the same time, it sets all workbook calculation to manual too which is not ideal. Is there any way that i can specify the workbook's name that i wish to be on manual calculation? I could not find any solution and am hoping that any of the experts here are able to help. I do know that I can set the calculation to manual without vba but my report has to be smart but yet "dummy-proof" as my users are extremely basic excel user.
Looking forward to your help and tips.
Thank you once again
I am currently working on a report which has huge amount of raw data and formula referencing to multiple worksheets. The report is being shared internally and with customer. Due to the size of the file, it causes the report to calculate on every single click. I have set the calculation mode to manual via macro (as shown below) and included a REFRESH button (range("Forecast").calculate) which calculates the worksheet when it is clicked by the user.
Code:
[INDENT]Private Sub Workbook_Open()[/INDENT]
[INDENT] Application.Calculation = xlManual[/INDENT]
[INDENT]End Sub[/INDENT]
[INDENT]
[/INDENT]
[INDENT]Private Sub Workbook_BeforeClose(Cancel As Boolean)[/INDENT]
[INDENT] Application.CalculateBeforeSave = False[/INDENT]
[INDENT] Application.Calculation = xlAutomatic[/INDENT]
[INDENT]End Sub
[/INDENT]
Looking forward to your help and tips.
Thank you once again