Extracting letters by alphabetic order.

A

Albana

I would like to create in Microsoft Word a small application for extracting
the words by alphabetic ordering for example like a dictionary, when i type a
(A letter), I want that all letterrs that start with (A) will display.
 
Z

zkid

Hi Albana,

Please be careful not to post the same question numerous times. It makes
people here very cranky.

Anyway, there are a couple of ways to proceed:

Depending on your experience with programming, here is the easist thing I
can think of to suggest:

1. Create your dictionary in a Word table containing the following:
a. first column = the word
c. second column = the word's definition
2. Create a macro to read in the data from the table into a two-dimensional
array.
3. Load the userform combo box or list box with the array contents. As an
alternative, you can just load the userform intstead of creating a Word
Table. However, if you want others to be able to insert new words, you
should stick with the table.
4. On the userform, create a label or text box next to the combo box to
contain the word's definition
5. Set the combo box to respond when the user selects the first letter
(i.e, "d"), and it will jump to the first d it finds (frmMatchEntryFirst).
Then, the user can scroll down the list using the drop down box arrow.
Create an _Change procedure to load the label or text box with the word's
corresponding definition.

Good luck!
 
R

Russ

What you are asking to do would be very hard to do in an interpreted program
coding language like Visual Basic for Applications. The best you might do
would be to lookup whole words in your dictionary database and display the
definitions or translations.

Or have a selected word automatically added to the search field at this
website and display the results. You might want to talk to the owner of this
website. The contact information appears on the translation result webpage
of his website:

http://www.argjiro.net/fjalor/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top