Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The following code accesses the first pivot table of the worksheet and then gets cell by the display name of the second data field of the pivot table. It then changes the fill color and font color of the cell to light blue and black respectively. Below screenshots show how the pivot table looks before and after the execution of the code.


Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.