Jump to content
Sign in to follow this  

Excel Workbook automatic calculation

Recommended Posts


To speed up my script i need a way to "deactivate" automatic workbook calculation on excel (to switch in manual).

I work with a big file and when i paste a formula it's take to much time to calculate, i need to deactivate automatic calc. and paste formula's and after that to calculate (switch to automatic).

And my second question is regarding pivot table... whow to generate them?

Thanks in advance!!!


Edited by BlueLord

Share this post

Link to post
Share on other sites

$oEX = ObjAttach("","excel.Application")
$owb = $oEX.ActiveWorkbook
$oAS = $owb.Activesheet
$oAS.EnableCalculation = "False";If this doesn't work, try 0 or -1 instead of false

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...