Can somebody help with macro for automated paragraph numbering in my document?
In column "A" I need to have paragraph numbers. I have three different types of numbering. They are "1", "1.1" and "1.11.1". In column "B" I have text and in column "C" I will insert corresponding text for macro to get information what number should be inserted in column "A". These options will be "main" for "1", "sub" for "1.1" and "sub-sub" for "1.11.1".
So here is an example of my document.
etc.
In column "A" I need to have paragraph numbers. I have three different types of numbering. They are "1", "1.1" and "1.11.1". In column "B" I have text and in column "C" I will insert corresponding text for macro to get information what number should be inserted in column "A". These options will be "main" for "1", "sub" for "1.1" and "sub-sub" for "1.11.1".
So here is an example of my document.
Code:
A B C
1 Car parts main
Some text
Some text
1.1 Wheels sub
Some text
1.2 Bumper sub
Some text
1.3 Windshield sub
Some text
1.4 Motor sub
Some text
1.4.1 Cylinders sub-sub
Some text
Some text
Some text
Some text
1.4.2 Throttle sub-sub
Some text
Some text
1.4.3 Spark plugs sub-sub
Some text
Some text
2 Car options main
Some text
Some text
Some text
Some text
Some text
2.1 Leather seats sub
Some text
Some text
2.2 Xenon-lights sub
Some text
2.3 Transmission sub
Some text
Some text
Some text
2.3.1 Robot sub-sub
Some text
Some text
Some text
2.3.2 Automatic sub-sub
Some text
Some text
3 Other main
Some text
Some text
3.1 Pas. car sub
etc.
Last edited: