View Single Post
 
Old 11-22-2016, 05:57 AM
mike.mm mike.mm is offline Windows 7 32bit Office 2013
Novice
 
Join Date: Nov 2016
Posts: 5
mike.mm is on a distinguished road
Default

1 Home,
1.1 going home,
1.2 how to drive home,
1.3 at home,
2 weather,
3 transport,
4.0 Tea,
4.1 mouse,
4.2 phone....


1 Home,
some random text is here

1.1 going home,
some random text is here

1.2 how to drive home,
some random text is here

1.3 at home,
some random text is here

2 weather,
some random text is here

3 transport,
some random text is here

4.0 Tea,
some random text is here

4.1 mouse,
some random text is here

4.2 phone....
some random text is here



The Red and Blue is the whole document, in red is the table of contents and in blue is the actual text with all paragraphs which creates the red table of contents.

What I am asking for is show me the table in Red when VBA is launched and ask me what do I want , I will click on 3 transport and 4.2 phone and run .... it will come back with the text: - and this is what i wanted as first...

3 transport,
some random text is here

4.2 phone....
some random text is here


Later I have changed my requirements to not to give me the table of contents (red one) to choose what to get but have it fixed in VBA ... so the code will actually include 3 transport and 4.2 phone and once I will run the macro it will go straight to results :

3 transport,
some random text is here

4.2 phone....
some random text is here



hmm ? Thanks again for looking into this !
Much appreciated
Reply With Quote