+ Reply to Thread
Results 1 to 4 of 4

VBA code to uncheck "Sort automatically every time the report is updated" of Pivot table?

  1. #1
    Registered User
    Join Date
    07-03-2013
    Location
    Montreal, QC
    MS-Off Ver
    Excel 2010
    Posts
    61

    VBA code to uncheck "Sort automatically every time the report is updated" of Pivot table?

    Hello,

    I have question, is there some VBA code to uncheck the "Sort automatically every time the report is updated" of a Pivot table.

    I have spent many hours searching for info on this.
    I tried to record a macro, but it comes out blank.

    Manually, you click on the drop down arrow - select "More sort options..." - select "More options" in the next window - and uncheck "Sort automatically every time the report is updated".

    I need to do this through VBA. Is it possible?

    Thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA code to uncheck "Sort automatically every time the report is updated" of Pivot tab

    PivotField.AutoSortField Property?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-03-2013
    Location
    Montreal, QC
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: VBA code to uncheck "Sort automatically every time the report is updated" of Pivot tab

    Quote Originally Posted by shg View Post
    PivotField.AutoSortField Property?
    No , that only provides which data field you are sorting on.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA code to uncheck "Sort automatically every time the report is updated" of Pivot tab

    Sorry, I don't know then. I could count on one hand the times I've automated pivot tables.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  2. Filter report in pivot table with "greater than" and "less than"
    By gygabyte017 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-29-2012, 08:08 AM
  3. Replies: 1
    Last Post: 04-07-2012, 04:36 PM
  4. Uncheck "Select Multiple Items" in a Pivot Table Using Code (Excel 2007)
    By delecto in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2009, 12:41 PM
  5. Replies: 1
    Last Post: 04-05-2006, 09:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1