LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Updating Pivot Table Column Date Data

I have a pivot table that is fed off a dynamic named range. This named range
has 6 fields left to right. The first field is a Data field. Therea are
roughly 100 rows of data. I have a macro that apends new data to the sheet
with the dynamic named range. As my data is not entered in data
chronological order, I had to click on the date column field of the table and
right click:

Field Settings\Advanced and under Auto Sort Options, I had to click off
"Ascending". So the pivot table sorts it.

What I have noticed is that when I append new data to the dynamic range, if
this new data does not have date formats, the pivot table will not
automatically update with the ascending sorted data columns. The data in the
DATA Field updates, but the Order of the dates in the Column Fields do not.
The new dates simply get tacked onto the end of the pivot table so I get
dates that look like this:

12/2001 12/2002 12/2003 12/2001 12/2002 12/2003

So I have to ensure that all the apended data in the date column have date
formats. Is there a setting I need to trigger in VBA to ensure this. Or
will I have to rely on a macro to check formats and edit as needed?

Thanks


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating chart from refreshed pivot table data Stephanie Charts and Charting in Excel 0 July 17th 09 07:17 PM
Creating auto Updating Pivot Table linked to external data. mike Excel Discussion (Misc queries) 1 February 26th 08 05:28 PM
Updating Pivot Table Data automatically from external workbooks [email protected] Excel Discussion (Misc queries) 0 April 4th 07 05:08 PM
Updating source data while in Pivot Table Carim[_3_] Excel Programming 4 April 27th 05 02:37 PM
Error updating pivot table source data CRL Excel Programming 1 April 29th 04 05:20 AM


All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"