E
Ed from AZ
I have a report document with several Excel files in an appendix.
Each of these files has a bookmark to allow a hyperlink to the file to
be placed in the report.
A co-worker who also works with this report needs to see the bookmark
names so she knows exactly which file is attached where. So I was
going to iterate through the report with a macro that would extract
the bookmark name and place it next to the bookmark. Not a problem.
We do not, however, want to send out the report like that! So I had
the idea that if a Word range can cover non-adjacent paragraphs, I can
just add the range covered by the bookmark name to a bigger range,
which could then somehow be manipulated to allow a mass delete when
we're done with the report.
Can this be done? If not, how would y'all suggest I do this?
Ed
Each of these files has a bookmark to allow a hyperlink to the file to
be placed in the report.
A co-worker who also works with this report needs to see the bookmark
names so she knows exactly which file is attached where. So I was
going to iterate through the report with a macro that would extract
the bookmark name and place it next to the bookmark. Not a problem.
We do not, however, want to send out the report like that! So I had
the idea that if a Word range can cover non-adjacent paragraphs, I can
just add the range covered by the bookmark name to a bigger range,
which could then somehow be manipulated to allow a mass delete when
we're done with the report.
Can this be done? If not, how would y'all suggest I do this?
Ed