+ Reply to Thread
Results 1 to 5 of 5

Disable Selection on Pivot Table field, multiple tables

  1. #1
    Registered User
    Join Date
    03-18-2010
    Location
    Edmonton, AB, Canada
    MS-Off Ver
    Excel 2002
    Posts
    28

    Question Disable Selection on Pivot Table field, multiple tables

    Hi there.

    I'm creating a budget spreadsheet with multiple pivot tables on each worksheet. I'd like to disable the ability to select certain fields to prevent novice users from using them by accident and getting confused.

    The thing is that I already have code. And it works on almost everything. Then it just stops working. For example, on the Apr and May sheet it worked on every pivot table on the worksheet. Then on June it only worked on 2 of them. Then on July, it worked on the same 2. But it did work on all the pivot tables on each page previously. So I assume this is some kind of error or glitch. Can anyone provide any help? Or can anyone tell me how to design it to run on a selcted pivot table instead of Active Sheet?

    Thanks so much!!!

    The code I'm using is:

    Please Login or Register  to view this content.
    Last edited by Calieth; 03-19-2010 at 12:10 PM. Reason: Solved

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Disable Selection on Pivot Table field, multiple tables

    Please enclose your code in code tags or I can't answer you...
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    03-18-2010
    Location
    Edmonton, AB, Canada
    MS-Off Ver
    Excel 2002
    Posts
    28

    Re: Disable Selection on Pivot Table field, multiple tables

    Oh, sorry. I've never used those before. I hope I've corrected the post properly.

    Thank you.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Disable Selection on Pivot Table field, multiple tables

    Your code, as written, will only work on the first pivot table on the active sheet. You can either make it run on every table on the active sheet:
    Please Login or Register  to view this content.
    or have it run on the selected one:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-18-2010
    Location
    Edmonton, AB, Canada
    MS-Off Ver
    Excel 2002
    Posts
    28

    Re: Disable Selection on Pivot Table field, multiple tables

    Thank you so much. They both worked beautifully. This has been a great learning experience.

+ 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