Using VBA To Keep Auto-Calculation On But Turn Off In Case One Worksheet’s Auto-Filter Is Used

Aimee S.

Board Regular
Joined
Sep 28, 2010
Messages
236
Office Version
  1. 365
Platform
  1. Windows
Hello Everyone,

I am looking for a means, if one is possible, from a VBA standpoint to have an .xlsm file auto-calculate formulas in all cases with the exception of, hypothetically, ‘Sheet1’ auto-filter usage.

I ask this because all other aspects of my file utilize drop downs that various formulas throughout the workbook reference, so auto calls are a must for those, but in the event users try and work with the eight-to-12 thousand row, many, many columned data to find information behind the dashboards, they won’t have to wait for Excel to auto calculate each time the auto filter is changed on that ‘Sheet1’ worksheet.

Any ideas? Immense thanks for your time and expertise.

Aimee in Madison
 
Last edited:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
.
At the beginning of your code for that sheet you can add :

[FONT=&quot]Application[/FONT][FONT=&quot].[/FONT][FONT=&quot]Calculation[/FONT][FONT=&quot] [/FONT][FONT=&quot]=[/FONT][FONT=&quot] [/FONT][FONT=&quot]xlManual


Then at the end you can add:

Application.Calculation = xlAutomatic[/FONT]
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,629
Members
452,661
Latest member
Nonhle

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