none
How to set different font/paragraph format in a addin field by VBA/ADDIN in WORD2013? RRS feed

  • Pertanyaan

  • Hi,
    my word addin can set different font/paragraph format in a addin field in WORD2003/2007/2010. But it don't work in WORD2013.


    My code like this:

    RangePtr spText = spAddinField->Result;
    spText->Select();

    set ParagraphFormat and Font of selection;

     spSelection->TypeText(_bstr_t(sReferenceList));
     spSelection->TypeParagraph();

    In WORD2013, the sReferenceList is not Result Text of Addin Field.

    Why I can't post this question on Word for Developers forum?

    • Diedit oleh TonyChen110 Selasa, 25 Desember 2012 08.53 Move this post to Word for Developers forum please.
    • Dipindahkan oleh Jesse Jiang Selasa, 08 Januari 2013 09.22 (发件人:Visual C++)
    Selasa, 25 Desember 2012 08.40

Semua Balasan