Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Get Max Date From PivotTable

I have a PivotTable *I start every post with that these days*
I have my PivotTables do pretty much everything except make my coffe
(If anyone knows the VB for that let me know :])

Anyway...The PivotTable has records relating to the current month
sales and the datasource is refreshed every day.
What I want is some VB (I figured it could only be done with VB), tha
will look at the range of dates in the Date Field and return the lates
(highest date).

I need this to drop into my worksheet to show when or how far the dat
goes upto.

The second part is to calculate the number of working days that hav
passed.

Anyone?
Gareth

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Get Max Date From PivotTable

Can't you just use the Worksheet MAX function , either in the worksheet or
in code.

--
Regards,
Tom Ogilvy

"GarethG " wrote in message
...
I have a PivotTable *I start every post with that these days*
I have my PivotTables do pretty much everything except make my coffee
(If anyone knows the VB for that let me know :])

Anyway...The PivotTable has records relating to the current months
sales and the datasource is refreshed every day.
What I want is some VB (I figured it could only be done with VB), that
will look at the range of dates in the Date Field and return the latest
(highest date).

I need this to drop into my worksheet to show when or how far the data
goes upto.

The second part is to calculate the number of working days that have
passed.

Anyone?
GarethG


---
Message posted from http://www.ExcelForum.com/



Reply
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
PivotTable Date Filter External Value Hutch Excel Discussion (Misc queries) 0 June 18th 08 04:13 AM
Creating a PivotTable w/o selecting data in an existing PivotTable Damian Excel Discussion (Misc queries) 6 November 2nd 07 04:44 PM
Date gaps in chart after pivotTable David T. Charts and Charting in Excel 0 February 14th 06 05:13 PM
pivottable date flow23 Excel Discussion (Misc queries) 2 January 12th 06 10:16 PM
Pivottable date parameters ... Sam Tyler Excel Programming 0 July 11th 03 11:32 PM


All times are GMT +1. The time now is 04:12 PM.

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

About Us

"It's about Microsoft Excel"