Theo Kouwenhoven
asked on
Renumber Word data
Hi All,
I have a function to insert reference numbers into a word document with a mouse click:
e.g.
click > [R001]
click > [R002]
etc.
While maintaining this document, it can hapen that the function is used to insert new numbers
click > [R003]
But the result after that could be:
[R001]
[R003]
[R002]
I'm looking for a function, that will search for the [Rxxx] format and renumber this in the the whole document, without changing other stuff.
I don't write VBA (oke a little) so please keep it simple
I have a function to insert reference numbers into a word document with a mouse click:
e.g.
click > [R001]
click > [R002]
etc.
While maintaining this document, it can hapen that the function is used to insert new numbers
click > [R003]
But the result after that could be:
[R001]
[R003]
[R002]
I'm looking for a function, that will search for the [Rxxx] format and renumber this in the the whole document, without changing other stuff.
I don't write VBA (oke a little) so please keep it simple
Can you please post a sample document?
ASKER
Hi xtermie,
I was not allowed to attach the .docm file so I renamed it to .doc.
In the example there are some rows, but also the VB source that is used to insert the reference numbers.
It would be nice if it can write some logging to a TXT file during the rename actions.
e.g.
[R001] > [R001]
[R025] > [R002]
[R002] > [R003]
etc
SampleDocument.doc
I was not allowed to attach the .docm file so I renamed it to .doc.
In the example there are some rows, but also the VB source that is used to insert the reference numbers.
It would be nice if it can write some logging to a TXT file during the rename actions.
e.g.
[R001] > [R001]
[R025] > [R002]
[R002] > [R003]
etc
SampleDocument.doc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great !!!!! thanks working fine :-)
Welcome.
~bp
~bp