There is Sheet -> Named Range and Expressions -> Insert -> Paste All
option in calc that allows the user to paste all the named ranges in one column & the corresponding range addresses in another column. This helps one to quickly refer the named ranges.
But the choice needs multiple selections, which i like to automate using a macro. So, I like to write a macro that inserts the named ranges in a range named as XYZ.
And after the display of the table, the macro should pause indefinitely to allow the user to study the table, and after the ENTER key is pressed by the user the macro should erase the range name table.
I have this requirement put up clearly in front of me but zero clues about the calc api that can assist me in doing this. Any help would be really appreciated.