Solved

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

Posted on 2014-02-19
2
2,089 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

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.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

752 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