PDA

View Full Version : delete text from word



johan4b
10-05-2016, 08:02 AM
Hi Guys

I hope you can help me with some issues with vba

I have a excel file and an word file. In the excelfile i have some data.

In the word document i have 3 rules of text. What i want is that vba select which rule to show with the data in Excel.

I have a code that puts the data in word but it shows all the three rules.

What i want is that vba deletes the two other rules and shows just one rule of text

I hope i explain it well


many thanks

Johan

mana
10-06-2016, 04:40 AM
same as this thread?

how to search the next value in excel (http://www.vbaexpress.com/forum/showthread.php?57361-how-to-search-the-next-value-in-excel)