There is an unwanted quote mark at the end of that line. Start by removing
that, though I doubt that's the problem, unless it has been converted to
some other character during the copying process.
The language issue shouldn't create a problem, however use the macro
recorder to create a new macro.
While this is running, open the format > style dialog/task pane. Select
whatever your PC shows for the normal paragraph style. Click modify and
without actually modifying anything OK out of the dialog. Stop the recorder.
You should get something like:
With ActiveDocument.Styles("Normal")
.AutomaticallyUpdate = False
.BaseStyle = ""
.NextParagraphStyle = "Normal"
End With
Copy the relevant parts of this macro into Greg's macro, replacing the
following section, whilst retaining the first line
With ActiveDocument.Styles(styleName)
.AutomaticallyUpdate = False
.BaseStyle = ""
.NextParagraphStyle = "Normal" '
End With

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> No, I get only "Run-time error 5834" and when I start the macro
> debugger it highlights the statement.
[quoted text clipped - 36 lines]
>>>>> how, if yes? Thanks.
>>>>> Giovanni
GRL - 28 Jan 2006 14:13 GMT
Fine! It runs.
Thank you very much.
Giovanni
> There is an unwanted quote mark at the end of that line. Start by removing
> that, though I doubt that's the problem, unless it has been converted to
[quoted text clipped - 62 lines]
>>>>>> how, if yes? Thanks.
>>>>>> Giovanni