PDA

View Full Version : Categorise headings with a letter



f2e4
06-25-2013, 09:07 AM
Scenario:
I have some very large reports that need a risk summary table placed at the front of each doc. The risk summaries capture the headings of each risk with an assigned letter.

I have the code so far to create a table of contents with all the relevent headings and paste it into a new doc as plain text, as per the attached document.

The risks wouldall be categorised into either Satisfactory, Underdeveloped or Outstanding Features.

Problem:
Does anyone know if it is possible to search through the list and where a heading states a Satisfactory Feature, all of the sub items below it have a tab space added after the text followed by a letter?

The number and tab space before the text would also be deleted.

Underdeveloped Features would be labelled with B and Outstanding Features with C.

I have created an extract on the second page of the attached doc to illustrated how it should look after the code is run.

If you need any further information, let me know. Any help would be greatly appreciated.