L
Lina
Hi
In my template I have made a solution for making crossreferences. I use the
GetCrossreferenceItem and Insertcrossreference on numbered item. It works the
way we want except for when the document has bulletd lists. The
getcrossreferenceitem seems to work as it should. When I set my list box.list
= .getcrossreferenceItems(wdreferencetype.wdreftypenumereditem) and shows
them in my listbox I can onley see the numered item, and that is what I want.
But then when I select a Item in the listbox and uses
Selection.insertcrossreference _
wdreferencetype.wdreftypenumbereditem, _
wdreferencekind.wdnumberrelativecontext, _
lstitems.listindex +1, true
I get a square symbol insted of the number that I wanted to refer to.
It seems like it in this case also counts the bulleted list and not onley
the numbered items. Has anyone had the same problem? And is ther any solution
for it?
Thanks!
In my template I have made a solution for making crossreferences. I use the
GetCrossreferenceItem and Insertcrossreference on numbered item. It works the
way we want except for when the document has bulletd lists. The
getcrossreferenceitem seems to work as it should. When I set my list box.list
= .getcrossreferenceItems(wdreferencetype.wdreftypenumereditem) and shows
them in my listbox I can onley see the numered item, and that is what I want.
But then when I select a Item in the listbox and uses
Selection.insertcrossreference _
wdreferencetype.wdreftypenumbereditem, _
wdreferencekind.wdnumberrelativecontext, _
lstitems.listindex +1, true
I get a square symbol insted of the number that I wanted to refer to.
It seems like it in this case also counts the bulleted list and not onley
the numbered items. Has anyone had the same problem? And is ther any solution
for it?
Thanks!