Forum Discussion

mench_456's avatar
mench_456
Copper Contributor
Oct 16, 2024

How to automatically change a number format of a new document inserted into the existing document?

Let's say both document 1 & 2 has a list of steps numbered in the 1.1, 1.2, 1.3... format each.

 

Now I want to merge document 2 in doc 1 such that the numbering format of doc 2 automatically changes to 2.1, 2.2, 2.3....

 

The merged doc should look something like:

DOC1

1.1

1.2

1.3

...

DOC2

2.1

2.2

2.3

....

(and if I want to merge more docs)

(Optional) DOC3

3.1

3.2

3.3

etc.

 

Is there a way to automatically change the numbering of the inserted docs from the 1. to the 2. format? A Microsoft agent mentioned that I may need to automate this using VBAcode, but I have never used it before. Please guide me with this.

Resources