Solved

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

Posted on 2014-02-19
2
1,881 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 48

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now