Strange question - macro to delete parts of the document

S

Satya

Hi,

I have a document that may contain only one section and Table of contents.
e.g

TOC
...
...

1 section 1
fgbdnbbn
1.1 nbfn
some text nfnfnf
Now I want to take input as the number 1 or 1.1 even the heading is fine and
then delete all the contents pertaining to that number, update the TOC.

Thanks in advance
Satya
 
Top