Thank you for the prompt replies. I think you can tell I am very amateur to VBA code and to what CoPilot is/can do. Now I know.
The point of the code I am looking for is simple: take a selected list of names from a table and create bookmarks for each of them. So I'm expecting some kind of for loop that goes through the range of selected text line by line and creates a bookmark for each. Does anyone have some REAL sample code I could try?
Example:
Table A:
Column 1 Column 2 Column 3 ...
Row1 Name1
Row2 Name2
Row3 Name3
Row4 Name4
In my word document Table A I select just Name2 and Name3, run the macro and end up with two new Bookmarks: Name2, Name3