GetCrossReferenceItems List does not match InsertCrossReference List

P

Pascal Lagass?

Hi,

Env: Word 2003, ...

This is a well-known problem. When using the Method
InsertCrossReference, wdRefTypeNumberedItem, the list include the
bulleted lists, but the method GetCrossReferenceItems does not include
them.

What I tried to do is:
1. building a list with GetCrossReferenceItems
2. make the user select an item from this list
3. getting the index of the element
4. using this index in the InsertCrossReference method.

This works, as long as there are no bulleted list in the document!
I am falling short of ideas. I tried using Sendkeys with
wdDialogInsertCrossReference, but I can't select an item in the list
(list looking like the product of GetCrossReferenceItems).

Well, is there a way to do overcome this problem?
Thank you in advance,

/Pascal Lagassé

Kösel GmbH & Co. KG - Über 400 Jahre Bücher mit System
Wartenseestraße 11 87435 Kempten
http://www.koeselbuch.de mailto:p[email protected]
 
W

Word Heretic

G'day (e-mail address removed) (Pascal Lagass?),

I had a good hard look for it some time ago and complete failed to
come up with anything decent.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Pascal Lagass? reckoned:
 
P

Pascal Lagass?

Thanks for your answer, I have reached the same conclusion, but I was
still hoping....

/Pascal Lagassé
 

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