![]() |
|
#1
|
|||
|
|||
![]()
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 |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
TonySpeels | Word | 2 | 08-17-2016 11:18 AM |
How to do task based on paragraph numbering after find | PRA007 | Word VBA | 5 | 12-15-2015 11:32 PM |
a macro that can copy data from copy.xls to our current excel macro.xls based on criteria: | udhaya | Excel Programming | 1 | 11-12-2015 10:12 AM |
![]() |
TD_123 | Word VBA | 7 | 06-16-2015 03:30 PM |
Display paragraph of text based on value selected in combo | WordWaza | Word | 0 | 08-09-2013 06:30 AM |