Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Hugo Rask-Jensen
 
Posts: n/a
Default Refreshing OLAP cube by date using VBA

This is example:

Sub Test_update_olap()

ActiveSheet.PivotTables("PivotTable1").PivotCache. Refresh

End Sub

But instead for just refreshing I would like to have it to refreshing for a
period of 30 days back from "today`s" date.

Eksample today it is 31 January, so I would like Pivot to refreshing data
from 1 january to 31 january, then I refresh tomorrow is should
refresh/collect data from 2 january ti 1 february and so on.

Thanks VERY much for any help :-)

Best regards
Hugo
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
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Adding XY days to date in cells satucha Excel Discussion (Misc queries) 1 November 25th 05 08:02 AM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
Date Math Problem Dkline Excel Worksheet Functions 4 March 4th 05 04:11 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 02:18 PM.

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"