Share via

Using field codes in header + multiple Word interface languages => ERROR for STYLEREF's

Anonymous
2012-04-04T10:41:35+00:00

{ STYLEREF "HEADING 1" \ MERGEFORMAT }*

works brilliantly when you have the english Word 2010. Default styles are called "Heading 1", "Heading 2", etc.

If you have the dutch Word 2010, default styles are called "Kop 1", "Kop 2", etc.

{ STYLEREF "KOP 1" \ MERGEFORMAT } then also works in the dutch Word 2010.When you then open the same word document in the english Word 2010, the following text appears instead of the section title:*

Error! Use the Home tab to apply Kop 1 to the text that you want to appear here.

A way to fix this would be the change it to :

{ STYLEREF "KOP 1;HEADING 1" \ MERGEFORMAT }, while this seems to work for the dutch Word 2010, checking the result in the english Word 2010 now shows:Error! Use the Home tab to apply Kop 1;Heading 1 to the text that you want to appear here. Is it possible to get the interface language so the style name can be switched using the IF functionality?Is there another way to fix this?*

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments