You can bookmark the caption number of your last figure and then insert a cross-reference to that bookmark in place of "Y" in your example. If you add captions in the middle of the text, you can simply update the cross-reference. Of course, if you add new figures after the last one, you will have to recreate the bookmark.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|