Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
Is there a way to select an item from a pivotfield instead of overwriting it?
This code just pastes the new value inserted into the combobox over the pivotfield value, even if the new value is not in the list.
This code just pastes the new value inserted into the combobox over the pivotfield value, even if the new value is not in the list.
Code:
ActiveSheet.PivotTables("Pivot Name").PivotFields("Field Name").CurrentPage = “Text”