Using a Refresh Button for a Pivot Table in a protected sheet

Anonymous
2018-09-24T15:24:10+00:00

Trying to use a refresh button for a pivot table, but I need to protect the worksheet. Currently, when I protect the worksheet, the button comes back as a run-time error 1004. The button works fine when the sheet is unprotected.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2018-09-24T17:29:34+00:00

    I think I have it now, thanks everyone for helping!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-09-24T17:26:02+00:00

    Can you share the workbook from OneDrive, and post the link here?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-09-24T17:02:08+00:00

    the whole sheet that the button and pivot table are on, the data for the pivot table is on another sheet and is unprotected, I would like to protect the data too if possible

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-09-24T16:55:06+00:00

    How are you protecting it?

    Was this answer helpful?

    0 comments No comments