Change current sheet name to selected note's text.

Hi!

I have some drawings with a note (Revision: A, B, C, etc.) This note always placed to same coordinate to sheet.

I can select this note with SELECTBYID via X and Y coordinates.

How can I copy the selected text and replace the current sheet name with it with macro?

Thanks, Imre

SolidworksApi macros