Solved

Turn off "Autofit column widths on update" as the default for Pivot Tables Excel 2010

Posted on 2014-02-19
2
1,985 Views
Last Modified: 2014-02-19
I would really like to make the Pivot Table check box for "Autofit column widths on update" in Excel 2010 be unchecked as the default.  It is annoying to have to go in and shut it off for every Pivot Table I create.  I am hoping someone knows a regedit to make this happen.  Thanks!
0
Comment
Question by:pmpatane
2 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39870411
Hi,

Since HasAutoFormat is a property of the pivottable, I doubt it will be possible to make it as default
Sub Macro1()
'
For Each pvt In ActiveSheet.PivotTables
    pvt.HasAutoFormat = False
Next
End Sub

Open in new window

Regards
0
 

Author Closing Comment

by:pmpatane
ID: 39871176
Thanks! Wish there had been a way
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question