> Type in
> ? ActiveDocument.Styles("Code Char").LinkStyle
> and hit the Return key at the end of the line.
At first I got Error 5941: The requested member of the collection does
not exist. (??) But I copied/pasted it again and this time I got
"Code".
> The "Char" bit in the style name indicates it's a linked character
> style, and it should be linked to the "Code" paragraph style.
I believe it is, If you select "Code" while the cursor is in a
paragraph, it sets the para to "Code". If you select "Code" while text
is selected, it changes only the selected text.
> You might be able to fix it:
> ActiveDocument.Styles("Code
> Char").LinkStyle=ActiveDocument.Styles("Code") ... but it might well
> mess with your formatting.
Sounds like "don't do this if you don't understand what you're doing" ...
which I don't. But since the LinkStyle is correct, I shouldn't need to
do this anyway, right?
> It might be better to search for "Code Char", and fix it by applying
> some sensible (unlinked) character style.
Code Char is Command Char + condensed by 1pt.
Command Char is Default Paragraph Font + Font: (Default) Courier New,
English U.S., Kern at 10pt. (It also says (Complex) Arabic Saudi Arabia
but I have NO idea where that came from...)
I could just apply a slightly modified Courier New, but other than this
problem, Code has always worked fine. And it's what I'm "supposed" to
use.
Gary
Klaus Linke - 07 Jul 2007 19:10 GMT
Sounds like my suspicion was wrong. You could mail me a sample doc
(info@fotosatz-kaufmann.de) if you want...
Regards,
Klaus