Re: Paste docs into different template based new doc doesn't chang
- From: "Stefan Blom" <no.spam@xxxxxxxxxx>
- Date: Thu, 24 Jul 2008 10:46:11 +0200
I'm glad you got it sorted, and thank you for the follow-up.
--
Stefan Blom
Microsoft Word MVP
"OldLincoln" <OldLincoln@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:47E5FD35-EEB1-499C-AB43-BF51C25AAD58@xxxxxxxxxxxxxxxx
Thanks, I got everything working by prepending a tag to each paragraph
and
making the entire doc Normal. Then via code it walks the doc applying the
correct format.
Works great, I just make a new doc via a macro I put in a new "Templates"
menu item, copy/paste the doc to format, then run the code. It applies
the
format from the template and it's done.
Earle
"Stefan Blom" wrote:
You can certainly use the Find and Replace dialog box (Ctrl+H) to replace
styles (assuming that the replacement style exists in the document of
course). In the dialog box, be sure to click the More button so that you
can
see all options. Then place the insertion point in the "Find what" box,
click the Format button, click Style, and choose the desired style.
Repeat
for the "Replace with" box.
--
Stefan Blom
Microsoft Word MVP
"OldLincoln" <OldLincoln@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1A6FEB9E-C6FB-4F09-82A4-594D181C7A61@xxxxxxxxxxxxxxxx
That makes the process dependent on me doing it. I may be better off
just
maintaining 12 sets of originals each formatted for a client.
Being stubborn, I started looking into code to replace one style with
another in a way that refreshes the active document. If you know that
will
not work please let me know, or hopefully, that it will work, please
toss
me
a bone.
Thanks
Earle
"Idaho Word Man" wrote:
The only way I know of to make it work is to use "Edit - Paste
Special -
Unformatted Text." That brings the text of your source document in as
unformatted text, with no styles or formatting. You'll need to
reformat
the
plain text to the new styles in your template.
Reformatting the text is a pain, but any other method of pasting text
will
carry the styles from the original document, and you'll end up with
two
sets
of styles -- one from the new and one from the old.
Fred
"OldLincoln" wrote:
Word 2003 - SP3 XP Home - SP2
We have dozens of source docs with coordinated style names matching
several
templates that have the same names but modified formatting. The
idea
is to
create a new doc from the right template & paste in the source doc
to
assume
the new template styles. Good idea but cannot make it work.
The styles are carrying the list type as a prefix e.g.; 5.0
Pro_Header
& 1)
Pro_Header and my guess is that keeps them from matching up. In the
style
definitions they both are Pro_Header without mention of number
style.
I really, really must make this work and soon and will appreciate
any
help
or point to a direction, etc.
.
- References:
- Paste docs into different template based new doc doesn't change st
- From: OldLincoln
- Re: Paste docs into different template based new doc doesn't chang
- From: Stefan Blom
- Re: Paste docs into different template based new doc doesn't chang
- From: OldLincoln
- Paste docs into different template based new doc doesn't change st
- Prev by Date: Re: Where is insert option / overwrite existing letters in WINWORD?
- Next by Date: Re: Unexpected alignment when using styles for headings 1, 1.1, 1.
- Previous by thread: Re: Paste docs into different template based new doc doesn't chang
- Next by thread: Re: Insert Page in Word 2007
- Index(es):