Just created this to help me add current date and version # to artwork and when revising the artwork it changes the date to current date and increments the version by 1.
You could just name shapes you want.
Set txtDateShape = ActiveLayer.CreateArtisticText(0.286, 9.27, sDate, , , "Arial", 12)
txtDateShape.Name = "DATE"
Set txtVersionShape = ActiveLayer.CreateArtisticText(txtDateShape.PositionX, yPosVersion, versionText, , , "Arial", 12)
txtVersionShape.Name = "VERSION"
To find shapes use:
Set txtDateShape = ActiveLayer.FindShapes("DATE")
Set txtVersionShape= ActiveLayer.FindShapes("VERSION")
that works, thanks!