How to disable manual editing in Pivot Tables

batyr

New Member
Joined
Feb 1, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

Today suddenly I was able to manually edit pivot tables without going to the source table. Please see attached pictures. In the pivot table before my manual editing James was showing as the source table. When I manually changed James to Ric in the pivot table (not the source table), it actually changed all instances of James to Ric in the pivot table, but the source table still shows James. When I clicked to update the pivot table, it still showed Ric instead of James, even though the source table was showing James. Moreover, when I changed James in the source table to another name, the new name appeared in the pivot table, but when I changed that new name back to James in the source table, the pivot table showed Ric after the update, not James. This is a bit of mystery to me. Could you please help me to disable that function. I wonder if it's a new thing in pivot tables? My excel is 365. Thanks
 

Attachments

  • Pivot.jpg
    Pivot.jpg
    79.9 KB · Views: 32

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi Welcome to MrExcel - The below one restricts the PivotWizard and when you right-click post running the code - PivotTable Options is on disabled mode. You can fit this in your code,

VBA Code:
Sub PivotTWizardDisable()
Dim pt As PivotTable
    
On Error Resume Next
Set pt = ActiveCell.PivotTable
On Error GoTo errHandler

If Not pt Is Nothing Then
   pt.EnableWizard = False
Else
   MsgBox "Please select a cell in a pivot table"
End If

exitHandler:
  Set pt = Nothing
  Application.ScreenUpdating = True
  Exit Sub

errHandler:
  GoTo exitHandler
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,192
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top