+ Reply to Thread
Results 1 to 4 of 4

creating Pivot table

  1. #1
    Registered User
    Join Date
    04-08-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    creating Pivot table

    Hi,
    I was creating a pivot table and the following is the problem:
    I have created a sheet named 'pivottable'. When the active cell is in any other page other than 'pivottable' I get the following error " Run time error:5 Invalid Procedure call or argument" and when I have selected the sheet named "pivottable" I don't get any errors. I need the destination for the pivot table to be set to a particular sheet. The code is as follows:

    Please Login or Register  to view this content.
    Moderators note: code tags added for you - this time
    Last edited by kitrak2; 06-03-2013 at 12:57 AM. Reason: code tags added

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Pivot table

    Hi and welcome to the forum

    2 things...

    Please use code tags when posting VBA code, it 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 here


    We would love to help you with your question, but 1st, in accordance with forum rules, please rename your thread to something more meaningful, that actually describes your problem.

    Because thread titles are used in searching the forum it is vital they be written to accurately describe your thread content or overall objective using ONLY search friendly key words. That is, your title used as search terms would return relevant results.

    Many members will look at a thread title, and if it is of interest to them, or it falls within their area of expertise, they might only open those threads.

    Look at it this way...if you typed that title into google, what would you expect to get back?
    To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Pivot table

    Self Deleted


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    04-08-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Pivot table

    Thanks for the info! Sorry about that. I am a first time user.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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