0

hi
how can i select the text in Word between 2 bold numbers. At first i must define the bold number and then select the text after him until next bold number.

4
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by venkatramasamy
0

what exactly did u mean by it?
and what about "word"?
is it any string within your program or you want to select text from Microsoft Word?

plz clarify in more detail

0

I mean Microsoft Word/VBA. I have tests in one document. In this document I have numbered questions. And I have another document. It is a table with 3 columns: № , variant, question. Document is too large. I want to copy questions of test in the table in another document.
May I use macro? In the tests numbers are bold. I don't know how can I define the bold number in tests. Maybe it is unpossible?

0

HI,
it can be easily achieved if you convert the word file to HTML file

save your fiel as HTML file,

From there you can easily recognize the Bold numbers(HTML puts <B></B> tags)

on text parsing you can recognize the tag and then you can get the following contetent text /Number what ever it is..

hope this will help you,

With regards
Venkatramasamy SN

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.