To explain my problem a little bit better, a short scheme:
Sourcefile:
<header1>
1. Heading1
1.1 Heading2
2. Heading1
<section-end new page>
<header2>
3. Heading1
3.1 Heading2
<section-end new page>
4 Heading1
......
My current result:
resultfile 1
1. Heading1
1.1 Heading2
2. Heading1
resultfile2
1. Heading1
1.1. Heading2
resultfile3
1. Heading1
Desired result
resultfile 1
1. Heading1
1.1. Heading2
2. Heading1
resultfile2
3. Heading1
3.1. Heading2
resultfile3
4. Heading1
Have you tried with something like:
MsgBox Selection.Range.ListFormat.ListString
???
--
______________________________
Jean-Guy Marcil
Montreal, Canada
"Jean-Guy Marcil" wrote:
> It works! Thank you very much for the solution