+ Reply to Thread
Results 1 to 6 of 6

Pivot table that references a Cell in another sheet

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    Brisbane
    MS-Off Ver
    Excel 2010
    Posts
    3

    Pivot table that references a Cell in another sheet

    Hi

    This is what I currently have:

    Please Login or Register  to view this content.
    I want the red row to reference 'DATA INPUTS'!P6.....any ideas?

    Thanks for the help

    Wil
    Last edited by Cutter; 09-07-2012 at 03:59 PM. Reason: Added code tags

  2. #2
    Registered User
    Join Date
    11-05-2008
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    67

    Re: Pivot table that references a Cell in another sheet

    Hello Wil,

    Try the following, this is untested but it should work as the principle is sound

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    Brisbane
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Pivot table that references a Cell in another sheet

    Thanks for the reply.

    It fails on
    PRange = sheets.("DATA INPUTS").range("P6") .....looking for an identifier or bracketed expression

  4. #4
    Registered User
    Join Date
    11-05-2008
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    67

    Re: Pivot table that references a Cell in another sheet

    Change this
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    I had too many full stops :|
    You wil also need to ensure that you wrap your code segments in code tags as per the forum rules when typing your messages highlight the code and then click the # symbol.

  5. #5
    Registered User
    Join Date
    09-05-2012
    Location
    Brisbane
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Pivot table that references a Cell in another sheet

    I tried that...it then fails on the

    Please Login or Register  to view this content.
    Just with the debug error.

    I worked it out the other day but lost all my macros...that will learn me for not saving it to the server
    Last edited by Cutter; 09-07-2012 at 04:01 PM.

  6. #6
    Registered User
    Join Date
    11-05-2008
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    67

    Re: Pivot table that references a Cell in another sheet

    can you post up a copy of your workbook - so I can see what changes need to be made?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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