+ Reply to Thread
Results 1 to 2 of 2

Allow Pivot Table Drill Sheets with Protected Workbook and Add Macro Button to Each Sheet

  1. #1
    Registered User
    Join Date
    11-07-2013
    Location
    Virginia Beach, VA
    MS-Off Ver
    O365
    Posts
    19

    Allow Pivot Table Drill Sheets with Protected Workbook and Add Macro Button to Each Sheet

    I have a workbook and the below code that allows a pivot table to drill and open new sheets with protected "SNOW" sheet and workbook. I want to add a macro button to any new sheet created through the Pivot Table that allows the user to navigate back to the pivot table since I have removed the tabs from workbook. The loading and protecting works fine. I made an attempt below for the button and added to "SNOW" sheet and receive error. Please help.

    "SNOW" Sheet
    Please Login or Register  to view this content.
    Workbook
    Please Login or Register  to view this content.
    Button
    Please Login or Register  to view this content.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Allow Pivot Table Drill Sheets with Protected Workbook and Add Macro Button to Each Sh

    could you not just add a hyperlink, e.g. ?

    Please Login or Register  to view this content.
    modify the Hyperlink subaddress to appropriate location for the Pivot {given the DoubleClick is @Sheet rather than @Workbook level we presume a fixed target at all times - i.e. no need to cache the pivot tab name in a Global variable etc}

+ 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. [SOLVED] Code to drill pivot table data details in one sheet instead of drilling in multiple sheets
    By Elhadi Adel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-22-2021, 09:20 AM
  2. Replies: 3
    Last Post: 10-20-2019, 12:15 PM
  3. Auto Sorting Pivot Table Drill Down Sheet
    By shanemoore in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2018, 12:19 AM
  4. Manually delete pivot table drill down sheet
    By sinski in forum Office 365
    Replies: 3
    Last Post: 01-22-2018, 12:41 PM
  5. Using VBA to format Pivot Table Drill Down and move to a new sheet
    By Billdick7788 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2012, 10:35 AM
  6. Save Pivot Table Drill Down automatically to new workbook
    By halfpint123 in forum Excel General
    Replies: 0
    Last Post: 08-29-2012, 11:33 AM
  7. Macro to drill down for pivot table
    By yeaster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2008, 12:51 PM

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