+ Reply to Thread
Results 1 to 4 of 4

Excel VBA code to update a Pivot Table using date in cell

  1. #1
    Registered User
    Join Date
    06-18-2018
    Location
    Australia
    MS-Off Ver
    MS office 2010
    Posts
    2

    Excel VBA code to update a Pivot Table using date in cell

    Good Morning

    I have been stumped on this for a while and thought I would seek some help. I have a pivot table cube that pulls data from our Fleet Management System database. I would like to update the filter date by a date in a cell in the sheet. I have recorded a macro on changing the date manually and have tried to substitute the date for a cell reference but it is not working. Any help would be much appreciated.

    Please Login or Register  to view this content.
    Thanks
    Kylie
    Last edited by alansidman; 06-18-2018 at 07:49 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,755

    Re: Excel VBA code to update a Pivot Table using date in cell

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Excel VBA code to update a Pivot Table using date in cell

    Is your version of Office correct? 2010?

  4. #4
    Registered User
    Join Date
    06-18-2018
    Location
    Australia
    MS-Off Ver
    MS office 2010
    Posts
    2

    Re: Excel VBA code to update a Pivot Table using date in cell

    Sorry my version is Microsoft office standard 2010

+ 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. Update Pivot table when a certain date is entered into a cell
    By taleen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2015, 09:32 PM
  2. Update pivot table based on date in a cell
    By BillDoor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-30-2015, 05:51 AM
  3. Pivot table Filter update through VBA code
    By way2suresh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-01-2013, 08:48 AM
  4. [SOLVED] Macro to update pivot item (date format) in pivot table to latest date from data source.
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 03:18 AM
  5. Use cell to update Pivot Table Filters in Excel 2003
    By new_vba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2011, 09:36 AM
  6. Date in cell to update upon Pivot Table refresh
    By chris46521 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2006, 06:02 PM
  7. VB code to update existing Pivot Table
    By suzetter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2005, 06:49 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