Refresh Values of Linked Shapes


The following screenshot shows the source Excel file used in the sample code below. It has a linked Picture 1 linked to cell A1. We will change the value of cell A1 with Aspose.Cells and then call Worksheet.getShapes().updateSelectedValue() method to refresh the value of Picture 1 and save it in PDF format.


You can download the source Excel file and the output PDF from the given links.

Java code to refresh the values of linked shapes