+ Reply to Thread
Results 1 to 3 of 3

Run-Time Error '1004' Cannot open PivotTable source file 'Consolidated Report'

  1. #1
    Registered User
    Join Date
    09-19-2008
    Location
    Singapore
    Posts
    41

    Thumbs up Run-Time Error '1004' Cannot open PivotTable source file 'Consolidated Report'

    Hi All,

    I have a macro that takes the date from different excel sheets, consolidates the data and renders the pivot table and chart accordingly. It was working fine when the date range defined for the pivot table was static. Now I have made it dynamic since the data range changes each month depending on the number of days it has got.

    When I run the macro, it runs succesfully, generates the report and save & close the report, but after that I am getting this error.

    Errorneous code:
    Please Login or Register  to view this content.
    I have attached theexcel file as well. Please check the code in Module1.

    Can anyone help me on why this error is happening.
    Attached Files Attached Files
    Last edited by Aswathy; 10-02-2008 at 11:36 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why have you marked this solved with no answers?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-30-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Run-Time Error '1004' Cannot open PivotTable source file 'Consolidated Report'

    Hi,

    I am having the same problem with dynamic data filling in excel sheet.
    Is your problem is solved? Then please reply me or send me on my email
    [email protected].

    Thanks
    Amit Nain









    Quote Originally Posted by Aswathy View Post
    Hi All,

    I have a macro that takes the date from different excel sheets, consolidates the data and renders the pivot table and chart accordingly. It was working fine when the date range defined for the pivot table was static. Now I have made it dynamic since the data range changes each month depending on the number of days it has got.

    When I run the macro, it runs succesfully, generates the report and save & close the report, but after that I am getting this error.

    Errorneous code:
    Please Login or Register  to view this content.
    I have attached theexcel file as well. Please check the code in Module1.

    Can anyone help me on why this error is happening.

+ 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. HELP: Can no longer open excel file
    By Lou82 in forum Excel General
    Replies: 2
    Last Post: 01-19-2011, 02:06 PM
  2. Required - macro to check whether the file is open
    By gloring in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2008, 04:44 AM
  3. Marcro to open text file
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-21-2007, 12:47 AM
  4. File Directory Open Events
    By Dennisli2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2007, 08:41 AM
  5. Running a macro on file open
    By emea training 2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2007, 06:23 AM

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