G
Guest
H
I would like to be able to automatically extend bookmarks around a section of text so that the bookmarks can later be referref to through hyperlinks, sharepoint, etc
We have already defined bookmarks around the header styles of the documents but it would be more useful if, when the various text under the headers has been filled in, we could extend the range of the bookmark to include all text up to the next Header
For example
-----Pretend before document------
[Objectives] <<<< Header style 1 from template Bookmark is the word Objective
Some explanatory dialogu
[scope] and deliverables <<<<<< Header Style 1 from template bookmark is the word Scop
more explanatory tex
[more] headers <<<<<< and so o
-------- pretned before document end-----
After the user has created a new document from the template we would like to be able to quote the entire section rather than just the headers in other documents viz
-------- pretend after document start --------
[Objectives
Objective
Objective
] <<<< Bookmark is the now entire text from [Objectives to her
[scop
scope
deliverables
et
]bookmark is the text between [Scope and her
more explanatory tex
[more] headers <<<<<< and so o
-------- pretned after document end-----
I looked up bookmarks on the MVP site (thank you again people) and found a macro that lets me change the content of the header but I need to be able to
1) for each pre-defined bookmar
2) select all text from beginning of current bookmark to next heading style 1 (this would also be the next bookmark if thats any help
3) replace current bookmark text with selection - leave name the sam
4) Next bookmar
Is this possible/desirable or is there a simple way I'm missing ? If not then how do I
a) loop through all bookmark
b) get the selection righ
Reg
I would like to be able to automatically extend bookmarks around a section of text so that the bookmarks can later be referref to through hyperlinks, sharepoint, etc
We have already defined bookmarks around the header styles of the documents but it would be more useful if, when the various text under the headers has been filled in, we could extend the range of the bookmark to include all text up to the next Header
For example
-----Pretend before document------
[Objectives] <<<< Header style 1 from template Bookmark is the word Objective
Some explanatory dialogu
[scope] and deliverables <<<<<< Header Style 1 from template bookmark is the word Scop
more explanatory tex
[more] headers <<<<<< and so o
-------- pretned before document end-----
After the user has created a new document from the template we would like to be able to quote the entire section rather than just the headers in other documents viz
-------- pretend after document start --------
[Objectives
Objective
Objective
] <<<< Bookmark is the now entire text from [Objectives to her
[scop
scope
deliverables
et
]bookmark is the text between [Scope and her
more explanatory tex
[more] headers <<<<<< and so o
-------- pretned after document end-----
I looked up bookmarks on the MVP site (thank you again people) and found a macro that lets me change the content of the header but I need to be able to
1) for each pre-defined bookmar
2) select all text from beginning of current bookmark to next heading style 1 (this would also be the next bookmark if thats any help
3) replace current bookmark text with selection - leave name the sam
4) Next bookmar
Is this possible/desirable or is there a simple way I'm missing ? If not then how do I
a) loop through all bookmark
b) get the selection righ
Reg