Hi all,
I have a number of documents that have numerous bookmarks in, named Text123 or Data456 etc. The bookmarks are not in order and are kind of all over the place. What I would like to be able to do is run a VBA macro that creates a new document and writes every bookmark name followed by the bookmark text to that new document.
I'm usingBookmarks(1).Range.Text in order to obtain the text and bookmarks(1).name to get the name, but I'm just struggling to get the name, as text, in the new document.
Any help greatly accepted, and my apologies if this is a very easy question - my VBA knowledge is very limited.
Marc
I have a number of documents that have numerous bookmarks in, named Text123 or Data456 etc. The bookmarks are not in order and are kind of all over the place. What I would like to be able to do is run a VBA macro that creates a new document and writes every bookmark name followed by the bookmark text to that new document.
I'm usingBookmarks(1).Range.Text in order to obtain the text and bookmarks(1).name to get the name, but I'm just struggling to get the name, as text, in the new document.
Any help greatly accepted, and my apologies if this is a very easy question - my VBA knowledge is very limited.
Marc