title: Formatting data labels in Excel charts using VBA
body: <p>I would like to change the data labels for the picture below from decimals (0.8102), like that of the blue part, to percentage (81.02%), like the red part of the stacked chart. </p>
  
  <p>I have tried recording a macro but it does not show any code for the formatting of data labels.</p>
  
  <p><img src="https://i.stack.imgur.com/QcUbR.png" alt="enter image description here"></p>