How to use a custo number format in word

A

AMartinez

I want to use numered list with Ordinals in Spanish. Word
by defalt uses masculine nominations like: PRIMERO,
SEGUNDO, TERCERO (In English: FIRST, SECOND, THIRD). I
want to use the ordinal in femenine like: PRIMERA,
SEGUNDA, TERCERA. Basically the last letter O must cha:1

for A. Any Ideas?
 
W

Word Heretic

G'day "AMartinez" <[email protected]>,

A dodgy, but possible way - use this on a COPY of your document - it
blows away your dynamic lists:

Alt+F11 (VBE), Ctrl+G (Immediate Window)

ActiveDocument.ConvertNumbersToText

Then just Find n Replace PRIMERO with PRIMERA etc

Steve Hudson
Word Heretic Sydney Australia
Tricky stuff with Word or words

Email: WordHeretic at tpg.com.au


AMartinez was spinning this yarn:
 
G

Guest

Thank you Steve! Was a very original solution. Any way I
would like to find a definitive solution since converting
the numbers to text creates the problem of maintaining
the numbering manually. I have some ideas, just I don't
know how to start:

1) Create a macro that generates the numbers in sequence
using the proper ordinals in femenine.
2) Find where MS Word stores the numering text (First,
Second, etc) equivalences in Spanish as subtitute the
values there.
3) Use a numbered list that shows numbers in WHITE so
they are invisible. Then run a macaro that inserts
PRIMERA when it finds the first element on the list,
SEGUNDA with the second until the whole list is updated.
Doing so when the user inserts a new item on the list the
macro will assign the proper femenine ordinal.

I like this last option but I don't know how to locate
the elements of the list.

Thank you!
 
W

Word Heretic

G'day <[email protected]>,

My recc is to use the 'publish macro' method.

I do this sort of thing quite a lot. The idea is to have a source
document - std word nightmare - that we keep for development. However,
we 'compile/convert' that crappy word doc into a beatiful work of art
- unmaintainable but looks and works GREAT - every time we 'publish'
the file.

It's a bit like programming - we always keep our source files and
distribute the compiled version. We dev using source, distribute using
compiled.

Steve Hudson
Word Heretic Sydney Australia
Tricky stuff with Word or words

Email: WordHeretic at tpg.com.au
 

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