M
Mona
I am trying to copy a selected section of a document to a newly
created document. I want to be able to specifically copy the custom
style of that selection as well. does anyone know how to do this?
I use this line in my code :
Selection.Bookmarks("\page").Range.FormattedText
For most cases it does copy styles too, but there are cases where it
misses out on the specific sytle and turn a paragraph to a Normal
style. It usually happens with the last paragraph of the selection.
it would be ideal if I could grab the style name of each paragraph
with all its specifications and then assign it to the one that is
being copied into the new document.
thanks for your help
mona
created document. I want to be able to specifically copy the custom
style of that selection as well. does anyone know how to do this?
I use this line in my code :
Selection.Bookmarks("\page").Range.FormattedText
For most cases it does copy styles too, but there are cases where it
misses out on the specific sytle and turn a paragraph to a Normal
style. It usually happens with the last paragraph of the selection.
it would be ideal if I could grab the style name of each paragraph
with all its specifications and then assign it to the one that is
being copied into the new document.
thanks for your help
mona