none
Insert a CrossReference in a Word Cell Table RRS feed

  • Question

  • Hi all,

    I currently face with a weird behaviour in my Word Add-in developpement (C#).

    In a part of my project, I have to insert a cross reference in a Cell (Word.Table).

    Even though I specify the exact Range of the Cell in which I'd like to insert it, my cross reference always be placed in another Cell.

    Here is a sample of my source code.

    table.Cell(3, 2).Range.InsertCrossReference(ref referenceType, referenceKind, ref referenceItem, insertAsHyperlink, includePosition, separateNumbers, separatorString);

    Thanks to this code, you should understand that I work with a 2 columns Table.
    I would like to insert my reference in the Cell(3, 2) and it is placed in the Cell(3, 1).

    I hope that you could help me on it.

    Thanks in advance.

    Roms



    • Edited by Rom.S Saturday, May 5, 2012 5:18 AM
    Friday, May 4, 2012 2:05 PM

Answers

All replies