If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Applying style without changing color, HOW?
Hi
I often write documentation, where I copy&paste lines, with color, from VisualStudio. However eachtime I apply a style to the text in Word, all the text turns into black, and the coloring is lost.....Is there a way to make the style NOT change the coloring?? TIA Søren |
#2
|
|||
|
|||
Applying style without changing color, HOW?
Hi Søren
Søren M. Olesen wrote: I often write documentation, where I copy&paste lines, with color, from VisualStudio. However eachtime I apply a style to the text in Word, all the text turns into black, and the coloring is lost.....Is there a way to make the style NOT change the coloring?? Not really, no: color is part of the style definition. When you apply a paragraph style, you'll lose the present color. Either you manage to apply only a character style (if all you want to change is Font formatting) and make sure you don't specify any color there, or you'd probably need a short macro that applies a given style while retaining the current color. 2cents Robert -- /"\ ASCII Ribbon Campaign | MS \ / | MVP X Against HTML | for / \ in e-mail & news | Word |
#3
|
|||
|
|||
Applying style without changing color, HOW?
Bottom posted
"Robert M. Franz (RMF)" wrote in message ... Hi Søren Søren M. Olesen wrote: I often write documentation, where I copy&paste lines, with color, from VisualStudio. However eachtime I apply a style to the text in Word, all the text turns into black, and the coloring is lost.....Is there a way to make the style NOT change the coloring?? Not really, no: color is part of the style definition. When you apply a paragraph style, you'll lose the present color. Either you manage to apply only a character style (if all you want to change is Font formatting) and make sure you don't specify any color there, or you'd probably need a short macro that applies a given style while retaining the current color. Another solution might be to create character styles for the colours (define as default para font + appropriate colour), and use search and replace to apply the character style to text currently in that colour. Then when you apply the paragraph style the character style will be retained. Note, however, that you can't apply more than one character style at a time, so you couldn't also use Strong, Emphasis etc but would need to stick to direct formatting. -- Margaret Aldis - Microsoft Word MVP Syntagma partnership site: http://www.syntagma.co.uk Word MVP FAQ site: http://www.word.mvps.org |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outline level auto-select custom style | Stuart Summerville | Formatting Long Documents | 12 | May 24th, 2005 08:32 PM |
printing the calendar - changing the daily style | frank_n | Calendar | 0 | December 9th, 2004 02:43 PM |
Inconsistent style application in cross references | Lynn | Formatting Long Documents | 8 | July 3rd, 2004 10:19 PM |
Applying new Style to all docs | Jeremy | New Users | 3 | June 14th, 2004 02:09 PM |
Changing one style to another. | newtknight | Formatting Long Documents | 10 | June 4th, 2004 10:16 PM |