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 the 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. The screenshots below show how the pivot table looks before and after the code execution.


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