Page 1 of 1

Anyone good with Word macros?

Posted: Mon Nov 13, 2006 7:04 pm
by Mihai
I need to help out a friend to sort a list of names in alphabetical order, but it's a bit more complex. It's a list of translators and for each translator the list of books they've translated, which also needs to be sorted alphabetically. The list looks like this:
Code: Select all
[b]TRANSLATOR NAME[/b]
         AUTHOR, Firstname, book title in italic. And each book ends with the a 
         number: (BRLR 13248)
         AUTHOR, Firstname, same stuff bla bla (BRLR 13452)

[b]TRANSLATOR NAME 2[/b]
         AUTHOR, Firstname, book title in italic. And each book ends with the a 
         number: (BRLR 13248)
         AUTHOR, firstname, same stuff bla bla (BRLR 13452)

Would this be possible to do with some VB script? I'm thinking first it needs to check the text between one name in bold (each translator) all the way to another name in bold. Then inside that text, it needs to check the beginning of a paragraph that starts with a capitalized name, all the way to the text "BRLR". Treat that as one "piece", then find another piece, and sort by the capitalized name.

Pretty complex, I have no idea how to write something like that in VB script. I told them they should have started writing a list in Excel instead, but now they have a list of names 130 pages long.....

Posted: Mon Nov 13, 2006 7:23 pm
by blueplanetdesign
Mihai...

There are several public domain "sorters" available that use Macromedia Director as the engine. Most are compiled to Shockwave of Flash or some such, but they will accept a list in .txt format, and sort by alphabet, etc.

You might search this site for something that is in .exe form that does what you are looking for.

http://director-online.com/

Good luck.

bpd

Posted: Mon Nov 13, 2006 7:44 pm
by Mihai
Ok, thanks. I'll try, but does it also output the file in Word or richtext?